## Adds `Integer#nil_if_zero` and `Integer#nil_unless_zero`. [![Gem Version](https://badge.fury.io/rb/nil-if-zero.svg)](https://badge.fury.io/rb/nil-if-zero) [![Build Status](https://travis-ci.org/yivo/nil-if-zero.svg?branch=master)](https://travis-ci.org/yivo/nil-if-zero) ## Installing gem Add to your Gemfile: ```ruby gem 'nil-if-zero', '~> 1.0' ``` ## Running Tests Install bundler: ```bash gem install bundler ``` Install dependencies: ```bash cd nil-if-zero && bundle ``` Run tests: ```bash cd nil-if-zero && bundle exec rake test ```