Module: Quby::Questionnaires::DSL::Questions::InnerTitles

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

Instance Method Summary collapse

Instance Method Details

#inner_title(value) ⇒ Object



159
160
161
162
# File 'lib/quby/questionnaires/dsl/questions/base.rb', line 159

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