RubyGems Navigation menu

range_extd 0.1.1

This defines a subclass of Range, RangeExtd and its subclass, RangeExtd::Infinity. The former defines a range that enables 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 latter has the two constant objects, POSITIVE and NEGATIVE, and they are a generalised Infinity of Float::INFINITY to any Comparable objects.

Gemfile:
=

instalar:
=

Versões:

  1. 2.0 September 08, 2022 (102 KB)
  2. 1.1.1 January 27, 2020 (60 KB)
  3. 1.1 November 01, 2019 (59,5 KB)
  4. 1.0 October 30, 2019 (55,5 KB)
  5. 0.4.0 May 10, 2014 (43,5 KB)
  6. 0.1.1 April 28, 2014 (36,5 KB)
Mostrar todas as versões (10)

Donos:

Autores:

  • Masa Sakano

SHA 256 checksum:

=

Total de downloads 21.329

Desta versão 2.463

Versão lançada:

Licença:

MIT

Versão Requerida do Ruby: >= 2.0

Links: