instance method
deep_transform_keys!
Ruby on Rails 4.2.9
Since v4.0.13Signature
deep_transform_keys!(&block)
Destructively convert all keys by using the block operation. This includes the keys from the root hash and from all nested hashes and arrays.
Parameters
-
blockblock
Source
# File activesupport/lib/active_support/core_ext/hash/keys.rb, line 95
def deep_transform_keys!(&block)
_deep_transform_keys_in_object!(self, &block)
end
Defined in activesupport/lib/active_support/core_ext/hash/keys.rb line 95
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Hash