Method: Ransack::Nodes::Attribute#eql?

Defined in:
lib/ransack/nodes/attribute.rb

#eql?(other) ⇒ Boolean Also known as: ==

Returns:

  • (Boolean)


39
40
41
42
# File 'lib/ransack/nodes/attribute.rb', line 39

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