public Method

HashWithIndifferentAccess.convert_key(key)

There's no documentation for this item.

Source Code

# File active_support/core_ext/hash/indifferent_access.rb, line 74
def convert_key(key)
  key.kind_of?(Symbol) ? key.to_s : key
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.