Method: Arel::Nodes::Extract#eql?

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

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

Returns:

  • (Boolean)


17
18
19
20
# File 'activerecord/lib/arel/nodes/extract.rb', line 17

def eql?(other)
  super &&
    self.field == other.field
end