diff options
author | Ray Baxter <ray.baxter@gmail.com> | 2011-07-20 23:33:42 -0700 |
---|---|---|
committer | Ray Baxter <ray.baxter@gmail.com> | 2011-07-20 23:33:42 -0700 |
commit | 18792069ab7beec08abaa34eb8c80fad8836b25f (patch) | |
tree | 9333058856d03c3b001a8a70b48c017668bf9c53 /actionpack/lib/action_view | |
parent | de20e7c98912b7050ff013235bd9fdd0c12aa853 (diff) | |
download | rails-18792069ab7beec08abaa34eb8c80fad8836b25f.tar.gz rails-18792069ab7beec08abaa34eb8c80fad8836b25f.tar.bz2 rails-18792069ab7beec08abaa34eb8c80fad8836b25f.zip |
use the doc conventions for arguments in all cases
See https://github.com/lifo/docrails/commit/5c71a4e76897844ab6aeabb581549d981d9768c9#commitcomment-485675
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/helpers/date_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/date_helper.rb b/actionpack/lib/action_view/helpers/date_helper.rb index 417ba11fd3..3eb8d039bc 100644 --- a/actionpack/lib/action_view/helpers/date_helper.rb +++ b/actionpack/lib/action_view/helpers/date_helper.rb @@ -422,7 +422,7 @@ module ActionView end # Returns a select tag with options for each of the seconds 0 through 59 with the current second selected. - # The <tt>second</tt> can also be substituted for a second number. + # The <tt>datetime</tt> can be either a +Time+ or +DateTime+ object or an integer. # Override the field name using the <tt>:field_name</tt> option, 'second' by default. # # ==== Examples @@ -448,7 +448,7 @@ module ActionView # Returns a select tag with options for each of the minutes 0 through 59 with the current minute selected. # Also can return a select tag with options by <tt>minute_step</tt> from 0 through 59 with the 00 minute - # selected. The <tt>date</tt> can also be substituted for a minute number. + # selected. The <tt>datetime</tt> can be either a +Time+ or +DateTime+ object or an integer. # Override the field name using the <tt>:field_name</tt> option, 'minute' by default. # # ==== Examples @@ -473,7 +473,7 @@ module ActionView end # Returns a select tag with options for each of the hours 0 through 23 with the current hour selected. - # The <tt>date</tt> can also be substituted for a hour number. + # The <tt>datetime</tt> can be either a +Time+ or +DateTime+ object or an integer. # Override the field name using the <tt>:field_name</tt> option, 'hour' by default. # # ==== Examples |