Method: Arel::Nodes::Binary#eql?

Defined in:
lib/arel/nodes/binary.rb

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

Returns:

  • (Boolean)


24
25
26
27
28
# File 'lib/arel/nodes/binary.rb', line 24

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