Sha256: b56e4c40fc146bfd3bab0999dc2a2b5eb9715d7ea7a99023f2d68aa5fc807aa5
Contents?: true
Size: 209 Bytes
Versions: 32
Compression:
Stored size: 209 Bytes
Contents
class Object def is_boolean? self.is_a?(TrueClass) || self.is_a?(FalseClass) end end class TrueClass def intern return :true end end class FalseClass def intern return :false end end
Version data entries
32 entries across 32 versions & 2 rubygems