The library opens up the Range class and adds a method get_last_item, which returns the last item of the range.
Liron Hacohen
gem "my_extended_range", "~> 0.0.1"