File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1947,6 +1947,7 @@ All numbers respond to these methods:
1947
1947
* [ ` terabytes ` ] [ Numeric#terabytes ]
1948
1948
* [ ` petabytes ` ] [ Numeric#petabytes ]
1949
1949
* [ ` exabytes ` ] [ Numeric#exabytes ]
1950
+ * [ ` zettabytes ` ] [ Numeric#zettabytes ]
1950
1951
1951
1952
They return the corresponding amount of bytes, using a conversion factor of 1024:
1952
1953
@@ -1972,6 +1973,7 @@ NOTE: Defined in `active_support/core_ext/numeric/bytes.rb`.
1972
1973
[ Numeric#megabytes ] : https://api.rubyonrails.org/classes/Numeric.html#method-i-megabytes
1973
1974
[ Numeric#petabytes ] : https://api.rubyonrails.org/classes/Numeric.html#method-i-petabytes
1974
1975
[ Numeric#terabytes ] : https://api.rubyonrails.org/classes/Numeric.html#method-i-terabytes
1976
+ [ Numeric#zettabytes ] : https://api.rubyonrails.org/classes/Numeric.html#method-i-zettabytes
1975
1977
1976
1978
### Time
1977
1979
You can’t perform that action at this time.
0 commit comments