Sha256: 7c5656c4f2b617a4a5410d093c46e890970c234ada1bd91f9bcf7d9e447d3796
Contents?: true
Size: 546 Bytes
Versions: 1
Compression:
Stored size: 546 Bytes
Contents
## 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 ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nil-if-zero-1.0.0 | README.md |