class Numeric

Human readable sizes and times.

Examples:

4096.to_h   # => "  4.1kB"
4096.to_hib # => "   4.0kiB"
1.MB        # => 1000000
1.MiB       # => 1048576
1.5.kiB     # => 1536.0

1.h   # => 3600
1.w   # => 604800