Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/objectify_config.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(sym) ⇒ Object



51
52
53
54
55
# File 'lib/objectify_config.rb', line 51

def method_missing(sym, *)
  fetch(sym) do 
    fetch(sym.to_s){super}
  end
end