Method: ActionController::Parameters#eql?

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

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


309
310
311
312
313
# File 'lib/action_controller/metal/strong_parameters.rb', line 309

def eql?(other)
  self.class == other.class &&
    permitted? == other.permitted? &&
    parameters.eql?(other.parameters)
end