Method: Sequel::SQL::Expression#eql?
- Defined in:
- lib/sequel/sql.rb
#eql?(other) ⇒ Boolean Also known as: ==
Returns true if the receiver is the same expression as the the other expression.
84 85 86 |
# File 'lib/sequel/sql.rb', line 84 def eql?(other) other.is_a?(self.class) && !self.class.comparison_attrs.find {|a| send(a) != other.send(a)} end |