method
transform_keys!
v6.1.3.1 -
Show latest stable
- Class:
ActiveSupport::HashWithIndifferentAccess
transform_keys!()public
No documentation available.
# File activesupport/lib/active_support/hash_with_indifferent_access.rb, line 332
def transform_keys!
return enum_for(:transform_keys!) { size } unless block_given?
keys.each do |key|
self[yield(key)] = delete(key)
end
self
end