Class: Babl::Config
- Inherits:
-
Object
- Object
- Babl::Config
- Defined in:
- lib/babl.rb
Instance Attribute Summary collapse
-
#cache_templates ⇒ Object
Returns the value of attribute cache_templates.
-
#preloader ⇒ Object
Returns the value of attribute preloader.
-
#pretty ⇒ Object
Returns the value of attribute pretty.
-
#search_path ⇒ Object
Returns the value of attribute search_path.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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_templates ⇒ Object
Returns the value of attribute cache_templates.
10 11 12 |
# File 'lib/babl.rb', line 10 def cache_templates @cache_templates end |
#preloader ⇒ Object
Returns the value of attribute preloader.
10 11 12 |
# File 'lib/babl.rb', line 10 def preloader @preloader end |
#pretty ⇒ Object
Returns the value of attribute pretty.
10 11 12 |
# File 'lib/babl.rb', line 10 def pretty @pretty end |
#search_path ⇒ Object
Returns the value of attribute search_path.
10 11 12 |
# File 'lib/babl.rb', line 10 def search_path @search_path end |