method
deep_transform_keys
v8.0.0 -
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.