Sha256: 450cd824178302f0d9c7567aea6ce1fc73dfa79e6526429787431e53fa973c79
Contents?: true
Size: 324 Bytes
Versions: 13
Compression:
Stored size: 324 Bytes
Contents
class Numeric def bytes; self end def kilobytes; self << 10 end def megabytes; self << 20 end def gigabytes; self << 30 end def terabytes; self << 40 end alias :byte :bytes alias :kilobyte :kilobytes alias :megabyte :megabytes alias :gigabyte :gigabytes alias :terabyte :terabytes end
Version data entries
13 entries across 13 versions & 2 rubygems