Class: Jade::Compiler::Config
- Inherits:
-
Object
- Object
- Jade::Compiler::Config
- Defined in:
- lib/jade/compiler.rb
Instance Attribute Summary collapse
-
#build_dir ⇒ Object
Returns the value of attribute build_dir.
-
#cache_dir ⇒ Object
Returns the value of attribute cache_dir.
-
#project_root ⇒ Object
Returns the value of attribute project_root.
-
#source_root ⇒ Object
Returns the value of attribute source_root.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
57 58 59 60 61 62 |
# File 'lib/jade/compiler.rb', line 57 def initialize @project_root = Dir.pwd @source_root = [] @build_dir = ".jade/build" @cache_dir = ".jade/cache" end |
Instance Attribute Details
#build_dir ⇒ Object
Returns the value of attribute build_dir.
55 56 57 |
# File 'lib/jade/compiler.rb', line 55 def build_dir @build_dir end |
#cache_dir ⇒ Object
Returns the value of attribute cache_dir.
55 56 57 |
# File 'lib/jade/compiler.rb', line 55 def cache_dir @cache_dir end |
#project_root ⇒ Object
Returns the value of attribute project_root.
55 56 57 |
# File 'lib/jade/compiler.rb', line 55 def project_root @project_root end |
#source_root ⇒ Object
Returns the value of attribute source_root.
55 56 57 |
# File 'lib/jade/compiler.rb', line 55 def source_root @source_root end |