Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Support for open ended ranges in Ruby.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
README
init.rb

README

Super Range
===========

Allows for open ended ranges.

Examples
========

# single open ended range
sr = SuperRange.new(1, nil)   # => 1...
sr.include?(10)               # => true
sr.include?(0)                # => false

# double open ended range
sr = SuperRange.new
sr.include?(123)              # => true

Homepage: http://github.com/jqr/super_range/tree/master  
Copyright (c) 2008 Elijah Miller <elijah.miller@gmail.com>, released under the MIT license.
Something went wrong with that request. Please try again.