RubyGems.org

The library opens up the Range class and adds a method get_last_item, which returns the last item of the range.

installgem install my_extended_range
Authors

Liron Hacohen

984 total downloads 984 for this version
Owners

38fb188ffe823dc6b83800e858404297

Gemfile
gem 'my_extended_range', '~> 0.0.1'
Versions
  1. 0.0.1 February 28, 2012 (3 KB)