--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns a select tag with options for each of the hours 0 through 23 with the current hour selected. The <tt>hour</tt> can also be substituted for a hour number. Override the field name using the <tt>:field_name</tt> option, 'hour' by default.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Examples
- !ruby/struct:SM::Flow::VERB 
  body: "  my_time = Time.now + 6.hours\n\n  # Generates a select field for minutes that defaults to the minutes for the time in my_time\n  select_minute(my_time)\n\n  # Generates a select field for minutes that defaults to the number given\n  select_minute(14)\n\n  # Generates a select field for minutes that defaults to the minutes for the time in my_time\n  # that is named 'stride' rather than 'second'\n  select_minute(my_time, :field_name =&gt; 'stride')\n"
full_name: ActionView::Helpers::DateHelper#select_hour
is_singleton: false
name: select_hour
params: (datetime, options = {}, html_options = {})
visibility: public
