Sha256: 13dee03f324122f4ea3a00939583d3baf3a2487fc7a1dbc25fcfb6d7357401ef
Contents?: true
Size: 298 Bytes
Versions: 23
Compression:
Stored size: 298 Bytes
Contents
module Hobo class Null def method_missing(method, *args, &block) self end def nil? true end def to_a [] end def to_s "" end def to_f 0.0 end def to_i 0 end end end def maybe val val.nil? ? nil : val end
Version data entries
23 entries across 23 versions & 1 rubygems