Sha256: a66fa1c9bb1ce21991935bd5bbe5086f370d9ddee52440f596256963d565783b
Contents?: true
Size: 133 Bytes
Versions: 1
Compression:
Stored size: 133 Bytes
Contents
module WannabeBool module Integer def to_b self == 1 end end end class Integer include WannabeBool::Integer end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wannabe_bool-0.2.0 | lib/wannabe_bool/integer.rb |