GitHub - mrThe/to_nil: to_nil gem

2 min read Original article ↗

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

/ to_nil Public

to_nil gem

License

WTFPL license

58 stars 7 forks Branches Tags Activity

Notifications You must be signed in to change notification settings

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

About

to_nil gem

Resources

Readme

License

WTFPL license

Code of conduct

Code of conduct

Activity

Stars

58 stars

Watchers

3 watching

Forks

7 forks

Releases

No releases published

Packages

No packages published