public Method

Hash.to_mash

convert this hash into a Mash for string or symbol key access

Source Code

# File merb/core_ext/hash.rb, line 70
def to_mash
  hash = Mash.new(self)
  hash.default = default
  hash
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.