A gem extending Ruby's array with useful utilities.
Current features
drop_last
drop_last!
each_with_index_and_size
each_after
map_key
not_in?
Installing gem
Add to your Gemfile:
gem "array-tweaks", "~> 1.0"
Running tests
Install Bundler:
gem install bundler
Install dependencies:
cd array-tweaks && bundle
Run tests:
cd array-tweaks && bundle exec rake test