module Fixnum::ByteHelper
Constants
- EXABYTE
- GIGABYTE
- KILOBYTE
- MEGABYTE
- PETABYTE
- TERABYTE
Public Class Methods
new()
click to toggle source
# File lib/byte_helper.rb, line 10 def initialize() end
Public Instance Methods
bytes()
click to toggle source
# File lib/byte_helper.rb, line 13 def bytes self end
exabyte()
click to toggle source
# File lib/byte_helper.rb, line 37 def exabyte self * EXABYTE end
gigabytes()
click to toggle source
# File lib/byte_helper.rb, line 25 def gigabytes self * GIGABYTE end
kilobytes()
click to toggle source
# File lib/byte_helper.rb, line 17 def kilobytes self * KILOBYTE end
megabytes()
click to toggle source
# File lib/byte_helper.rb, line 21 def megabytes self * MEGABYTE end
petabytes()
click to toggle source
# File lib/byte_helper.rb, line 33 def petabytes self * PETABYTE end
terabytes()
click to toggle source
# File lib/byte_helper.rb, line 29 def terabytes self * TERABYTE end