Sha256: 79c62ffbaf04fc49365ca8a9f6c0f7eb91d215915efc7a52cac98101e076b9ea
Contents?: true
Size: 542 Bytes
Versions: 4
Compression:
Stored size: 542 Bytes
Contents
class NilClass def &(other) false end def |(other) `other !== false && other !== nil` end def ^(other) `other !== false && other !== nil` end def ==(other) `other === nil` end def as_json self end def inspect 'nil' end def nil? true end def singleton_class NilClass end def to_a [] end def to_h `__opal.hash()` end def to_i 0 end alias to_f to_i def to_json 'null' end def to_native `null` end def to_s '' end end
Version data entries
4 entries across 4 versions & 1 rubygems