Skip to content

Commit

Permalink
fix number_to_human docs [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaydev committed Apr 26, 2012
1 parent 7d95b81 commit 006de25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/action_view/helpers/number_helper.rb
Expand Up @@ -427,10 +427,10 @@ def number_to_human_size(number, options = {})
# * *integers*: <tt>:unit</tt>, <tt>:ten</tt>, <tt>:hundred</tt>, <tt>:thousand</tt>, <tt>:million</tt>, <tt>:billion</tt>, <tt>:trillion</tt>, <tt>:quadrillion</tt>
# * *fractionals*: <tt>:deci</tt>, <tt>:centi</tt>, <tt>:mili</tt>, <tt>:micro</tt>, <tt>:nano</tt>, <tt>:pico</tt>, <tt>:femto</tt>
# * <tt>:format</tt> - Sets the format of the output string (defaults to "%n %u"). The field types are:
# * <tt>:raise</tt> - If true, raises +InvalidNumberError+ when the argument is invalid.
#
# %u The quantifier (ex.: 'thousand')
# %n The number
# * <tt>:raise</tt> - If true, raises +InvalidNumberError+ when the argument is invalid.
#
#
# ==== Examples
# number_to_human(123) # => "123"
Expand Down

0 comments on commit 006de25

Please sign in to comment.