Module: Quby::Questionnaires::DSL::Questions::Units

Included in:
FloatQuestionBuilder, IntegerQuestionBuilder, StringQuestionBuilder
Defined in:
lib/quby/questionnaires/dsl/questions/base.rb

Instance Method Summary collapse

Instance Method Details

#unit(value) ⇒ Object



166
167
168
# File 'lib/quby/questionnaires/dsl/questions/base.rb', line 166

def unit(value)
  @question.unit = value
end