Skip to content

Commit 21d6be0

Browse files
authored
Merge pull request rails#49882 from a5-stable/add-zettabyte-doc
Add zettabytes documentation to the guide [skip ci]
2 parents 83b3875 + 12080ee commit 21d6be0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

guides/source/active_support_core_extensions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1947,6 +1947,7 @@ All numbers respond to these methods:
19471947
* [`terabytes`][Numeric#terabytes]
19481948
* [`petabytes`][Numeric#petabytes]
19491949
* [`exabytes`][Numeric#exabytes]
1950+
* [`zettabytes`][Numeric#zettabytes]
19501951

19511952
They return the corresponding amount of bytes, using a conversion factor of 1024:
19521953

@@ -1972,6 +1973,7 @@ NOTE: Defined in `active_support/core_ext/numeric/bytes.rb`.
19721973
[Numeric#megabytes]: https://api.rubyonrails.org/classes/Numeric.html#method-i-megabytes
19731974
[Numeric#petabytes]: https://api.rubyonrails.org/classes/Numeric.html#method-i-petabytes
19741975
[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
19751977

19761978
### Time
19771979

0 commit comments

Comments
 (0)