instance method
terabytes
Ruby on Rails 6.1.7.10
Since v3.0.20Signature
terabytes()
Returns the number of bytes equivalent to the terabytes provided.
2.terabytes # => 2_199_023_255_552
Source
# File activesupport/lib/active_support/core_ext/numeric/bytes.rb, line 46
def terabytes
self * TERABYTE
end
Defined in activesupport/lib/active_support/core_ext/numeric/bytes.rb line 46
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Numeric