Enables the use of byte calculations and declarations, like 45.bytes + 2.6.megabytes
# File lib/active_support/core_ext/numeric/bytes.rb, line 13 def bytes self end
# File lib/active_support/core_ext/numeric/bytes.rb, line 43 def exabytes self * EXABYTE end
# File lib/active_support/core_ext/numeric/bytes.rb, line 28 def gigabytes self * GIGABYTE end
# File lib/active_support/core_ext/numeric/bytes.rb, line 18 def kilobytes self * KILOBYTE end
# File lib/active_support/core_ext/numeric/bytes.rb, line 23 def megabytes self * MEGABYTE end
# File lib/active_support/core_ext/numeric/bytes.rb, line 38 def petabytes self * PETABYTE end
# File lib/active_support/core_ext/numeric/bytes.rb, line 33 def terabytes self * TERABYTE end
Generated with the Darkfish Rdoc Generator 2.