Method: Sequel::Postgres::PGMultiRange#eql?

Defined in:
lib/sequel/extensions/pg_multirange.rb

#eql?(other) ⇒ Boolean

Don’t consider multiranges with different database types equal.

Returns:

  • (Boolean)


300
301
302
303
304
305
306
# File 'lib/sequel/extensions/pg_multirange.rb', line 300

def eql?(other)
  if PGMultiRange === other
    return false unless other.db_type == db_type
    other = other.__getobj__
  end
  __getobj__.eql?(other)
end