Some convenient methods for converting bytes to kb, mb, and gb.
Converts a number to gigabytes.
# File lib/unix/sys/filesystem.rb, line 583 def to_gb self / 1073741824 end
Converts a number to kilobytes.
# File lib/unix/sys/filesystem.rb, line 573 def to_kb self / 1024 end
Generated with the Darkfish Rdoc Generator 2.