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.

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

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

Runtime 相依性套件 (1):

null_question ~> 1.0

擁有者:

作者:

  • Jan Lelis

SHA 256 checksum:

4b6d6f8180ff7bf762f509b166af188f764ddbeb753183413d4bcd6721464040

總下載次數 4,931

這個版本 3,089

License:

MIT

Ruby 版本需求: ~> 2.0

相關連結: