aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Duncan <mrduncan@gmail.com>2011-04-15 20:30:51 -0400
committerMatt Duncan <mrduncan@gmail.com>2011-04-15 20:30:51 -0400
commite8afe4e1ea9ea4c59368bb84efde785876f25061 (patch)
tree234fdbc0166a7f51b4f23d860e08b8e2d35dafa5
parent004042c0d94f0294e691de46094a665acd852653 (diff)
downloadrails-e8afe4e1ea9ea4c59368bb84efde785876f25061.tar.gz
rails-e8afe4e1ea9ea4c59368bb84efde785876f25061.tar.bz2
rails-e8afe4e1ea9ea4c59368bb84efde785876f25061.zip
Making spacing consistent
-rw-r--r--actionpack/lib/action_view/helpers/number_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/number_helper.rb b/actionpack/lib/action_view/helpers/number_helper.rb
index a150019e5c..b545031fcc 100644
--- a/actionpack/lib/action_view/helpers/number_helper.rb
+++ b/actionpack/lib/action_view/helpers/number_helper.rb
@@ -318,7 +318,7 @@ module ActionView
# Non-significant zeros after the fractional separator are stripped out by default (set
# <tt>:strip_insignificant_zeros</tt> to +false+ to change that):
# number_to_human_size(1234567890123, :precision => 5) # => "1.1229 TB"
- # number_to_human_size(524288000, :precision=>5) # => "500 MB"
+ # number_to_human_size(524288000, :precision => 5) # => "500 MB"
def number_to_human_size(number, options = {})
options.symbolize_keys!
@@ -407,7 +407,7 @@ module ActionView
# Unsignificant zeros after the decimal separator are stripped out by default (set
# <tt>:strip_insignificant_zeros</tt> to +false+ to change that):
# number_to_human(12345012345, :significant_digits => 6) # => "12.345 Billion"
- # number_to_human(500000000, :precision=>5) # => "500 Million"
+ # number_to_human(500000000, :precision => 5) # => "500 Million"
#
# ==== Custom Unit Quantifiers
#