Class: Hash

Inherits:
Object show all
Defined in:
lib/cv/ext/hash.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object



2
3
4
# File 'lib/cv/ext/hash.rb', line 2

def method_missing(method, *args)
  self[method] || self[method.to_s]
end