lib/sequel/extensions/pg_range_ops.rb in sequel-5.34.0 vs lib/sequel/extensions/pg_range_ops.rb in sequel-5.35.0
- old
+ new
@@ -114,10 +114,12 @@
def pg_range
RangeOp.new(self)
end
end
+ # :nocov:
if defined?(PGRange)
+ # :nocov:
class PGRange
# Wrap the PGRange instance in an RangeOp, allowing you to easily use
# the PostgreSQL range functions and operators with literal ranges.
def op
RangeOp.new(self)