instance method
convert_key
Ruby on Rails 6.0.6
Since v3.0.20 PrivateSignature
convert_key(key)
No documentation comment.
Parameters
-
keyreq
Source
# File activesupport/lib/active_support/hash_with_indifferent_access.rb, line 366
def convert_key(key) # :doc:
key.kind_of?(Symbol) ? key.to_s : key
end
Defined in activesupport/lib/active_support/hash_with_indifferent_access.rb line 366
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::HashWithIndifferentAccess