Module: UsefulUtilities::Size

Extended by:
Size
Includes:
Bit, Byte, CdnSpeed, Frequency, Percentage
Included in:
Size
Defined in:
lib/useful_utilities/size.rb,
lib/useful_utilities/size/bit.rb,
lib/useful_utilities/size/byte.rb,
lib/useful_utilities/size/cdn_speed.rb,
lib/useful_utilities/size/frequency.rb,
lib/useful_utilities/size/percentage.rb,
lib/useful_utilities/size/standard/binary.rb,
lib/useful_utilities/size/standard/decimal.rb

Defined Under Namespace

Modules: Bit, Byte, CdnSpeed, Frequency, Percentage, Standard

Constant Summary

Constants included from Percentage

Percentage::HUNDRED

Constants included from Byte

Byte::HALF_OF_SECTOR

Constants included from Standard::Binary

Standard::Binary::GIBI, Standard::Binary::KIBI, Standard::Binary::MEBI, Standard::Binary::TEBI

Constants included from Standard::Decimal

Standard::Decimal::GIGA, Standard::Decimal::KILO, Standard::Decimal::MEGA, Standard::Decimal::TERA

Method Summary

Methods included from Percentage

#fraction_to_percentage, #percentage_to_fraction

Methods included from Byte

#bytes_to_human_size, #to_bytes, #to_gigabytes, #to_kilobytes, #to_megabytes, #to_terabytes

Methods included from Standard::Binary

#to_binary_bi, #to_gibi, #to_kibi, #to_mebi, #to_tebi

Methods included from Frequency

#to_gigahertz, #to_megahertz

Methods included from Standard::Decimal

#to_decimal_bi, #to_giga, #to_kilo, #to_mega, #to_tera

Methods included from CdnSpeed

#to_cdn_gbps

Methods included from Bit

#bits_per_sec_to_human_readable, #bits_to_human_size, #suitable_unit_for_bits, #to_bits, #to_gigabits, #to_kilobits, #to_megabits, #to_terabits