Skip to content
Browse files

Making spacing consistent

  • Loading branch information...
1 parent 004042c commit e8afe4e1ea9ea4c59368bb84efde785876f25061 @mrduncan mrduncan committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_view/helpers/number_helper.rb
View
4 actionpack/lib/action_view/helpers/number_helper.rb
@@ -318,7 +318,7 @@ def number_with_precision(number, options = {})
# 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 @@ def number_to_human_size(number, options = {})
# 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
#

0 comments on commit e8afe4e

Please sign in to comment.
Something went wrong with that request. Please try again.