Method: Ransack::Nodes::Value#eql?

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

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

Returns:

  • (Boolean)


16
17
18
# File 'lib/ransack/nodes/value.rb', line 16

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