Class: Jade::Compiler::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/jade/compiler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_dirObject

Returns the value of attribute build_dir.



55
56
57
# File 'lib/jade/compiler.rb', line 55

def build_dir
  @build_dir
end

#cache_dirObject

Returns the value of attribute cache_dir.



55
56
57
# File 'lib/jade/compiler.rb', line 55

def cache_dir
  @cache_dir
end

#project_rootObject

Returns the value of attribute project_root.



55
56
57
# File 'lib/jade/compiler.rb', line 55

def project_root
  @project_root
end

#source_rootObject

Returns the value of attribute source_root.



55
56
57
# File 'lib/jade/compiler.rb', line 55

def source_root
  @source_root
end