Skip to content

Commit

Permalink
Merge pull request #47364 from hachi8833/fix_active_support_core_exte…
Browse files Browse the repository at this point in the history
…nsion_sample

[ci-skip] fix sample code for *bytes methods in Active Support Guide
  • Loading branch information
vipulnsward committed Feb 11, 2023
2 parents c88ca3b + 70010df commit b6ecefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/active_support_core_extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -1950,7 +1950,7 @@ They return the corresponding amount of bytes, using a conversion factor of 1024
```ruby
2.kilobytes # => 2048
3.megabytes # => 3145728
3.5.gigabytes # => 3758096384
3.5.gigabytes # => 3758096384.0
-4.exabytes # => -4611686018427387904
```

Expand Down

0 comments on commit b6ecefd

Please sign in to comment.