/to_nil

to_nil gem

Primary LanguageRubyDo What The F*ck You Want To Public LicenseWTFPL

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