Method: Arel::Nodes::Window#eql?

Defined in:
activerecord/lib/arel/nodes/window.rb

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

Returns:

  • (Boolean)


59
60
61
62
63
64
# File 'activerecord/lib/arel/nodes/window.rb', line 59

def eql?(other)
  self.class == other.class &&
    self.orders == other.orders &&
    self.framing == other.framing &&
    self.partitions == other.partitions
end