class Wizardry::Questions::LongAnswer

Ask a question that can be answered with multiple lines of text

Public Class Methods

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

Public Instance Methods

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