Method: ActionView::Helpers::DateTimeSelector#select_hour
- Defined in:
- lib/action_view/helpers/date_helper.rb
#select_hour ⇒ Object
806 807 808 809 810 811 812 813 814 815 816 |
# File 'lib/action_view/helpers/date_helper.rb', line 806 def select_hour if @options[:use_hidden] || @options[:discard_hour] build_hidden(:hour, hour) else = {} [:ampm] = @options[:ampm] || false [:start] = @options[:start_hour] || 0 [:end] = @options[:end_hour] || 23 (:hour, hour, ) end end |