Module: Quby::Compiler::DSL::Questions::InnerTitles

Included in:
CheckboxQuestionBuilder, RadioQuestionBuilder
Defined in:
lib/quby/compiler/dsl/questions/base.rb

Instance Method Summary collapse

Instance Method Details

#inner_title(value) ⇒ Object



147
148
149
150
# File 'lib/quby/compiler/dsl/questions/base.rb', line 147

def inner_title(value)
  question_option = Entities::QuestionOption.new(nil, @question, inner_title: true, description: value)
  @question.options << question_option
end