Categories: None [Edit]

range_extd

https://rubygems.org/gems/range_extd
Package for a subclass of Range, RangeExtd, containing RangeExtd::Infinity and RangeExtd::Nowhere. RangeExtd defines ranges that enable an exclusion of the begin boundary, in addition to the end boundary as in the built-in Range, and accepts open-ended ranges to infinity for either (or both) positive/negative direction. The open-ended boundaries are represented by two constant objects, POSITIVE and NEGATIVE of RangeExtd::Infinity, and they are a generalised Infinity of Float::INFINITY to any Comparable objects, which are in practice similar to built-in beginless/endless Ranges.

Total

Ranking: 49,934 of 186,911
Downloads: 21,483

Daily

Ranking: 137,446 of 186,896
Downloads: 2

Depended by

RankDownloadsName
70,17013,390rangeary

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconMasaSakano