RubyGems.org

Allows one to assign random attributes to ranges and juggle them in lists. Also adds parsing from string, but most interesting when used in a PositionRange::List. In lists standard set operations can be applied to them, like addition, substraction and intersection. In addition one can also get the combined size of all the ranges in the list. And cluster overlapping ranges, maintaining the attributes.

installgem install positionrange
Authors

Wybo Wiersma

22,078 total downloads 5,117 for this version
Owners

7079f35a8d450bb4bd3a235fbe2b9e26

Gemfile
gem 'positionrange', '~> 0.7.1'
Versions
  1. 0.7.1 June 24, 2012 (15.5 KB)
  2. 0.7.0 February 2, 2010 (18.5 KB)
  3. 0.6.7 June 5, 2009 (18 KB)
  4. 0.6.6 May 25, 2009 (18 KB)
  5. 0.6.5 May 25, 2009 (18 KB)
Show all versions (9 total)