Method: FactoryForm::TimeAnswer#initialize

Defined in:
lib/factoryform/time_answer.rb

#initialize(options = {}) ⇒ TimeAnswer

Returns a new instance of TimeAnswer.



3
4
5
6
7
# File 'lib/factoryform/time_answer.rb', line 3

def initialize(options={})
  options[:field_type] = "short_answer"
  super(options)
  @validation_format = "time"
end