instance method
bytes
Ruby on Rails 4.2.9
Since v3.0.20Signature
bytes()
Enables the use of byte calculations and declarations, like 45.bytes + 2.6.megabytes
Source
# File activesupport/lib/active_support/core_ext/numeric/bytes.rb, line 10
def bytes
self
end
Defined in activesupport/lib/active_support/core_ext/numeric/bytes.rb line 10
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Numeric