module Unbounded

A library for working with unbounded (infinite) ranges, with support for PostgreSQL-style notation.

Constants

INFINITY

Infinity

NINFINITY

Negative infinity

VERSION

Current library version. @return [Gem::Version]

Public Class Methods

range(*args, &block) click to toggle source

@return [Unbounded::Range]

# File lib/unbounded.rb, line 32
def Unbounded.range(*args, &block)
  Unbounded::Range.new(*args, &block)
end