Skip to content

mrThe/to_nil

Repository files navigation

ToNil

Cast everything to nil!

Installation

Add this line to your application's Gemfile:

gem 'mr_to_nil'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mr_to_nil

Usage

[:random, :array].to_nil # nil
31337.to_nil # nil
"Yet another shitty gem".to_nil # nil
"Your fat boss".to_nil # nil
nil.to_nil # nil

Contributing

  1. Orly?!
  2. Fork it ( https://github.com/mrThe/to_nil/fork )
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request

Releases

No releases published

Packages

No packages published