RubyGems Navigation menu

null_plus 1.0.0

This gem redefines Ruby's unary + operator to turn null objects into nil. By default, the unary + operator is not used by Ruby, so overloading it is not so dangerous as it might have sounded to you when you read it. Every object that returns true for null? is considered a null object.

Versions:

  1. 1.0.0 - April 13, 2015 (7 KB)

Runtime Dependencies (1):

Owners:

Authors:

  • Jan Lelis

SHA 256 checksum:

4b6d6f8180ff7bf762f509b166af188f764ddbeb753183413d4bcd6721464040

Total downloads 1,540

For this version 1,540

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

MIT

Required Ruby Version: ~> 2.0

Links: