Method: Finix::IndifferentHash#method_missing
- Defined in:
- lib/finix/indifferent_hash.rb
#method_missing(method, *args, &block) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/finix/indifferent_hash.rb', line 9 def method_missing(method, *args, &block) if self.has_key? "#{method}" value = self["#{method}"] return value.call(*args) if value.respond_to? :call return value end end |