public Method

HashWithIndifferentAccess.to_hash

Convert to a Hash with String keys.

Source Code

# File active_support/core_ext/hash/indifferent_access.rb, line 69
def to_hash
  Hash.new(default).merge(self)
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.