Class: Babl::Config
- Inherits:
-
Object
- Object
- Babl::Config
- Defined in:
- lib/babl.rb
Instance Attribute Summary collapse
-
#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.
13 14 15 16 17 |
# File 'lib/babl.rb', line 13 def initialize @search_path = nil @preloader = Babl::Rendering::NoopPreloader @pretty = true end |
Instance Attribute Details
#preloader ⇒ Object
Returns the value of attribute preloader.
11 12 13 |
# File 'lib/babl.rb', line 11 def preloader @preloader end |
#pretty ⇒ Object
Returns the value of attribute pretty.
11 12 13 |
# File 'lib/babl.rb', line 11 def pretty @pretty end |
#search_path ⇒ Object
Returns the value of attribute search_path.
11 12 13 |
# File 'lib/babl.rb', line 11 def search_path @search_path end |