Permalink
Browse files

use the doc conventions for arguments in all cases

  • Loading branch information...
1 parent f4558c6 commit 94a8e35e4c3751d8b58f0f8c710dad7dd7c98ee9 @raybaxter raybaxter committed with fxn Jul 21, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/lib/action_view/helpers/date_helper.rb
@@ -422,7 +422,7 @@ def select_time(datetime = Time.current, options = {}, html_options = {})
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 @@ def select_second(datetime, options = {}, html_options = {})
# 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 @@ def select_minute(datetime, options = {}, html_options = {})
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

0 comments on commit 94a8e35

Please sign in to comment.