lib/humanize-bytes/gbyte.rb in humanize-bytes-0.0.1 vs lib/humanize-bytes/gbyte.rb in humanize-bytes-0.0.2

- old
+ new

@@ -19,9 +19,13 @@ def to_m @value * 1024 end + def to_g + @value + end + def to_s @value.instance_of?(Float) ? formatted_float + ' giga bytes' : @value.to_s + ' giga bytes' end protected \ No newline at end of file