aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-05-21 01:45:50 +0900
committerGitHub <noreply@github.com>2019-05-21 01:45:50 +0900
commitd246e2f4511ee9a4b228f92e1d54547c7aab58d2 (patch)
tree5e1011c3fb28aa40de9c014a75942ba4fa5d0a66 /actionview/lib
parentbbd065204ed45071f048badb7c0d49e35773d788 (diff)
parent2256f0bdb09a39a8752183e3422b76e1cd05df1a (diff)
downloadrails-d246e2f4511ee9a4b228f92e1d54547c7aab58d2.tar.gz
rails-d246e2f4511ee9a4b228f92e1d54547c7aab58d2.tar.bz2
rails-d246e2f4511ee9a4b228f92e1d54547c7aab58d2.zip
Merge pull request #36309 from alexandergraul/number_to_human_size_examples
Correct human file size examples [ci skip]
Diffstat (limited to 'actionview/lib')
-rw-r--r--actionview/lib/action_view/helpers/number_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/number_helper.rb b/actionview/lib/action_view/helpers/number_helper.rb
index 35206b7e48..03ec7df9c1 100644
--- a/actionview/lib/action_view/helpers/number_helper.rb
+++ b/actionview/lib/action_view/helpers/number_helper.rb
@@ -251,7 +251,7 @@ module ActionView
end
# Formats the bytes in +number+ into a more understandable
- # representation (e.g., giving it 1500 yields 1.5 KB). This
+ # representation (e.g., giving it 1500 yields 1.46 KB). This
# method is useful for reporting file sizes to users. You can
# customize the format in the +options+ hash.
#