class Wizardry::Questions::ShortAnswer

Ask a question that can be answered with one line of text

Public Class Methods

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

Public Instance Methods

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