Class Fixnum
In: lib/unix/sys/filesystem.rb
lib/windows/sys/filesystem.rb
Parent: Object

Some convenient methods for converting bytes to kb, mb, and gb.

Methods

to_gb   to_gb   to_kb   to_kb   to_mb   to_mb  

Public Instance methods

Returns fix in terms of gigabytes.

Converts a number to gigabytes.

Returns fix in terms of kilobytes.

Converts a number to kilobytes.

Returns fix in terms of megabytes.

Converts a number to megabytes.

[Validate]