Class: Quby::Questionnaires::DSL::Questions::RadioQuestionBuilder
- Includes:
- InnerTitles, MultipleChoice, Subquestions
- Defined in:
- lib/quby/questionnaires/dsl/questions/radio_question_builder.rb
Instance Attribute Summary
Attributes inherited from Base
#key, #questionnaire, #title, #type
Instance Method Summary collapse
-
#initialize(key, options = {}, &block) ⇒ RadioQuestionBuilder
constructor
A new instance of RadioQuestionBuilder.
Methods included from InnerTitles
Methods included from Subquestions
#build, #question, #title_question
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) ⇒ RadioQuestionBuilder
Returns a new instance of RadioQuestionBuilder.
12 13 14 15 |
# File 'lib/quby/questionnaires/dsl/questions/radio_question_builder.rb', line 12 def initialize(key, = {}, &block) super @question = Entities::Questions::RadioQuestion.new(key, ) end |