Enables the use of byte calculations and declarations, like 45.bytes + 2.6.megabytes

Methods
B
E
G
K
M
P
T
Instance Public methods
byte()
bytes()
Also aliased as: byte
# File rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb, line 6
def bytes
  self
end
exabyte()
exabytes()
Also aliased as: exabyte
# File rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb, line 36
def exabytes
  self * 1024.petabytes
end
gigabyte()
gigabytes()
Also aliased as: gigabyte
# File rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb, line 21
def gigabytes
  self * 1024.megabytes 
end
kilobyte()
kilobytes()
Also aliased as: kilobyte
# File rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb, line 11
def kilobytes
  self * 1024
end
megabyte()
megabytes()
Also aliased as: megabyte
# File rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb, line 16
def megabytes
  self * 1024.kilobytes
end
petabyte()
petabytes()
Also aliased as: petabyte
# File rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb, line 31
def petabytes
  self * 1024.terabytes
end
terabyte()
terabytes()
Also aliased as: terabyte
# File rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb, line 26
def terabytes
  self * 1024.gigabytes
end