class Wizardry::Questions::Date

Ask a date question

Public Class Methods

new(name) click to toggle source
Calls superclass method Wizardry::Questions::Answer::new
# File lib/wizardry/questions/date.rb, line 5
def initialize(name)
  Rails.logger.debug("🧙 Adding date question '#{name}'")
  super
end

Public Instance Methods

form_method() click to toggle source
# File lib/wizardry/questions/date.rb, line 10
def form_method
  :govuk_date_field
end