Method: ActionController::Parameters#transform_keys!

Defined in:
lib/action_controller/metal/strong_parameters.rb

#transform_keys!(&block) ⇒ Object

Performs keys transformation and returns the altered ActionController::Parameters instance.



915
916
917
918
919
# File 'lib/action_controller/metal/strong_parameters.rb', line 915

def transform_keys!(&block)
  return to_enum(:transform_keys!) unless block_given?
  @parameters.transform_keys!(&block)
  self
end