Class: Wizardry::Questions::LongAnswer
- Defined in:
- lib/wizardry/questions/long_answer.rb
Overview
Ask a question that can be answered with multiple lines of text
Instance Attribute Summary
Attributes inherited from Answer
Instance Method Summary collapse
- #form_method ⇒ Object
-
#initialize(name) ⇒ LongAnswer
constructor
A new instance of LongAnswer.
Methods inherited from Answer
Constructor Details
#initialize(name) ⇒ LongAnswer
Returns a new instance of LongAnswer.
5 6 7 8 |
# File 'lib/wizardry/questions/long_answer.rb', line 5 def initialize(name) Rails.logger.debug("🧙 Adding long question '#{name}'") super end |
Instance Method Details
#form_method ⇒ Object
10 11 12 |
# File 'lib/wizardry/questions/long_answer.rb', line 10 def form_method :govuk_text_area end |