Closed lauer closed 6 years ago
It should be possible to chose the precision of the output.
Currently it will always print with 2 decimals. It would be a parameter to the pretty method, mostly before the to_s is already hardcoded with a unit = 'B'.
pretty
to_s
unit = 'B'
It could also be a format_as method.
It should be possible to chose the precision of the output.
Currently it will always print with 2 decimals. It would be a parameter to the
pretty
method, mostly before theto_s
is already hardcoded with aunit = 'B'
.It could also be a format_as method.