method
convert_key
v4.2.1 -
Show latest stable
- Class:
ActiveSupport::HashWithIndifferentAccess
convert_key(key)public
No documentation available.
# File activesupport/lib/active_support/hash_with_indifferent_access.rb, line 258
def convert_key(key)
key.kind_of?(Symbol) ? key.to_s : key
end