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.



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

#preloaderObject

Returns the value of attribute preloader.



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

def preloader
  @preloader
end

#prettyObject

Returns the value of attribute pretty.



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

def pretty
  @pretty
end

#search_pathObject

Returns the value of attribute search_path.



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

def search_path
  @search_path
end