Method: Stove::Config#method_missing
- Defined in:
- lib/stove/config.rb
#method_missing(m, *args, &block) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/stove/config.rb', line 9 def method_missing(m, *args, &block) if m.to_s.end_with?('=') __set__(m.to_s.chomp('='), args.first) else __get__(m) end end |