diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-04-26 15:23:09 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-04-26 15:23:09 +0530 |
commit | 848276dfba42f996a01e720a252e5fee83a4b6c2 (patch) | |
tree | b37c577a134abe9c6314c8ac5039094069293387 /actionpack/lib/action_view | |
parent | 363a06f351e2d52d3717ea3334c174665ac72103 (diff) | |
download | rails-848276dfba42f996a01e720a252e5fee83a4b6c2.tar.gz rails-848276dfba42f996a01e720a252e5fee83a4b6c2.tar.bz2 rails-848276dfba42f996a01e720a252e5fee83a4b6c2.zip |
fix number_to_human docs [ci skip]
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/helpers/number_helper.rb | 4 |
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 d3a7a1bb96..d44e6d0496 100644 --- a/actionpack/lib/action_view/helpers/number_helper.rb +++ b/actionpack/lib/action_view/helpers/number_helper.rb @@ -392,10 +392,10 @@ module ActionView # * *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" |