Module: Toto::ConfigHelpers

Included in:
PageHelpers
Defined in:
lib/toto.rb

Instance Method Summary collapse

Instance Method Details

#[](*args) ⇒ Object



56
57
58
# File 'lib/toto.rb', line 56

def [] *args
  @config[*args]
end

#[]=(key, value) ⇒ Object



60
61
62
# File 'lib/toto.rb', line 60

def []= key, value
  @config.set key, value
end