method
convert_key
v1.0.0 -
Show latest stable
- Class:
HashWithIndifferentAccess
convert_key(key)public
No documentation available.
# File activesupport/lib/active_support/core_ext/hash/indifferent_access.rb, line 42
def convert_key(key)
key.kind_of?(Symbol) ? key.to_s : key
end