Sha256: e52eac6bbea54455aa7b43d63e6dac8e6bc890dd1eda037d6ef337042d964c44

Contents?: true

Size: 118 Bytes

Versions: 2

Compression:

Stored size: 118 Bytes

Contents

require_relative "null_plus/version"

require "null_question"

class Object
  def +@
    null? ? nil : self
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
null_plus-1.0.1 lib/null_plus.rb
null_plus-1.0.0 lib/null_plus.rb