Class: Mash

Inherits:
Hash
  • Object
show all
Defined in:
lib/rmce_uploadr/core/mash.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(meth, *args, &block) ⇒ Object



2
3
4
# File 'lib/rmce_uploadr/core/mash.rb', line 2

def method_missing(meth, *args, &block)
  self[meth.to_s] || self[meth]
end