/extended_range

Adds some handy methods to the Ruby Range class

Primary LanguageRubyMIT LicenseMIT

ExtendedRange

hernanat Gem Version

extended_range is a set of extension class and instance methods to Ruby's Range class.

Read the docs for more information about its capabilities and how to use it.

Installation

Add this line to your application's Gemfile:

gem "extended_range"

And then execute:

$ bundle install

Or install it yourself as:

$ gem install extended_range

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install.

Documentation

Documentation can be viewed at https://rubydoc.info/github/hernanat/extended_range

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/hernanat/extended_range

TODO: contribution guidelines