range_operators
range_operators copied to clipboard
A gem that adds addition and subtraction to Ruby's Range class.
At the beginning of `array_operator_definitions.rb` there is a warning: ``` #Assumes inclusive ranges (ie. 1..4) and range.first
Thanks for putting this gem together, really useful! I have a peculiar use case working with `DateTime`s, and I'm glad to say that this gem seems to be working just...
Just wanted to let you know that I came across these extensions and thought they made a lot of sense. So I ported them to Facets with a few minor...