static public Method

Mash.new(constructor = {})

There's no documentation for this item.

Source Code

# File merb/core_ext/mash.rb, line 6
def initialize(constructor = {}) 
  if constructor.is_a?(Hash) 
    super() 
    update(constructor) 
  else 
    super(constructor) 
  end 
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.