Adds Integer#nil_if_zero and Integer#nil_unless_zero.

Gem Version Build Status

Installing gem

Add to your Gemfile:

gem 'nil-if-zero', '~> 1.0'

Running Tests

Install bundler:

gem install bundler

Install dependencies:

cd nil-if-zero && bundle

Run tests:

cd nil-if-zero && bundle exec rake test