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.

Required Ruby Version

>= 2.0

Authors

Jan Lelis

Versions

  1. 1.0.1 January 06, 2021 (7 KB)
  2. 1.0.0 April 13, 2015 (7 KB)

Pushed by

SHA 256 checksum