lib/humanize-bytes/byte.rb in humanize-bytes-0.0.1 vs lib/humanize-bytes/byte.rb in humanize-bytes-0.0.2
- old
+ new
@@ -7,9 +7,13 @@
def value
@value
end
+ def to_b
+ value
+ end
+
def to_k
@value / 1024.0
end
def to_m
\ No newline at end of file