Class: Hellobase::Formtastic::Inputs::TimeOfDayInput

Inherits:
Formtastic::Inputs::SelectInput
  • Object
show all
Defined in:
lib/hellobase/formtastic/inputs/time_of_day_input.rb

Instance Method Summary collapse

Constructor Details

#initializeTimeOfDayInput

Returns a new instance of TimeOfDayInput.



5
6
7
8
9
# File 'lib/hellobase/formtastic/inputs/time_of_day_input.rb', line 5

def initialize(*)
  super

  @options[:collection] ||= build_times_collection
end