method
deep_transform_keys
v7.1.3.2 -
Show latest stable
- Class:
ActionController::Parameters
deep_transform_keys(&block)public
Returns a new +ActionController::Parameters+ instance with the results of running block once for every key. This includes the keys from the root hash and from all nested hashes and arrays. The values are unchanged.