Class: Babl::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



12
13
14
15
16
17
# File 'lib/babl.rb', line 12

def initialize
    @search_path = nil
    @preloader = Rendering::NoopPreloader
    @pretty = true
    @cache_templates = false
end

Instance Attribute Details

#cache_templatesObject

Returns the value of attribute cache_templates.



10
11
12
# File 'lib/babl.rb', line 10

def cache_templates
  @cache_templates
end

#preloaderObject

Returns the value of attribute preloader.



10
11
12
# File 'lib/babl.rb', line 10

def preloader
  @preloader
end

#prettyObject

Returns the value of attribute pretty.



10
11
12
# File 'lib/babl.rb', line 10

def pretty
  @pretty
end

#search_pathObject

Returns the value of attribute search_path.



10
11
12
# File 'lib/babl.rb', line 10

def search_path
  @search_path
end