Object
Some convenient methods for converting bytes to kb, mb, and gb.
Returns fix in terms of gigabytes.
# File lib/windows/sys/filesystem.rb, line 391 def to_gb self / 1073741824 end
Returns fix in terms of kilobytes.
# File lib/windows/sys/filesystem.rb, line 375 def to_kb self / 1024 end
Returns fix in terms of megabytes.
# File lib/windows/sys/filesystem.rb, line 383 def to_mb self / 1048576 end
[Validate]
Generated with the Darkfish Rdoc Generator 2.