RubyGems Navigation menu

range_extd 2.0

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.

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 2.0 September 08, 2022 (102KB)
  2. 1.1.1 January 27, 2020 (60KB)
  3. 1.1 November 01, 2019 (59.5KB)
  4. 1.0 October 30, 2019 (55.5KB)
  5. 0.4.0 May 10, 2014 (43.5KB)
全てのバージョンを表示(全10件)

所有者:

プッシュ者:

作者:

  • Masa Sakano

SHA 256チェックサム:

=

累計ダウンロード数 21,329

このバージョンのみ 845

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 2.7

リンク: