Module: Quby::Compiler::DSL::Questions::Units

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

Instance Method Summary collapse

Instance Method Details

#unit(value) ⇒ Object



154
155
156
# File 'lib/quby/compiler/dsl/questions/base.rb', line 154

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