RubyGems Navigation menu

null_plus 1.0.1

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.

版本列表:

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

Runtime 依赖关系 (1):

所有者:

Pushed by:

作者:

  • Jan Lelis

SHA 256 checksum:

e64b661c933d263aacaedabdd8138ebb891ced538e01cd37a052e522d0585aa7

下载总次数 2,527

这个版本 492

Gemfile:
= 复制到剪贴板 已复制

安装:
=

许可:

MIT

需要的 Ruby 版本: >= 2.0

相关链接: