Class: Quby::Questionnaires::DSL::Questions::DeprecatedQuestionBuilder
- Includes:
- MultipleChoice
- Defined in:
- lib/quby/questionnaires/dsl/questions/deprecated_question_builder.rb
Instance Attribute Summary
Attributes inherited from Base
#key, #questionnaire, #title, #type
Instance Method Summary collapse
-
#initialize(key, options = {}, &block) ⇒ DeprecatedQuestionBuilder
constructor
A new instance of DeprecatedQuestionBuilder.
Methods included from MultipleChoice
Methods inherited from Base
#build, #context_free_title, #default_position, #depends_on, #description, #hidden, #presentation, #validates_presence_of_answer
Methods inherited from Base
Methods included from Helpers
#check_question_keys_uniqueness, #image_alt, #image_tag, #video_tag
Constructor Details
#initialize(key, options = {}, &block) ⇒ DeprecatedQuestionBuilder
Returns a new instance of DeprecatedQuestionBuilder.
10 11 12 13 |
# File 'lib/quby/questionnaires/dsl/questions/deprecated_question_builder.rb', line 10 def initialize(key, = {}, &block) super @question = Entities::Questions::DeprecatedQuestion.new(key, ) end |