Class: Helena::Question

Inherits:
Object
  • Object
show all
Includes:
Concerns::ApplicationModel, Mongoid::Orderable
Defined in:
app/models/helena/question.rb

Constant Summary collapse

TYPES =
[
  Helena::Questions::ShortText,
  Helena::Questions::LongText,
  Helena::Questions::StaticText,
  Helena::Questions::RadioGroup,
  Helena::Questions::CheckboxGroup,
  Helena::Questions::RadioMatrix,
  Helena::Questions::BipolarRadioMatrix
].freeze

Instance Method Summary collapse

Instance Method Details

#includes_labels?Boolean

Returns:

  • (Boolean)


32
33
34
# File 'app/models/helena/question.rb', line 32

def includes_labels?
  false
end

#includes_subquestions?Boolean

Returns:

  • (Boolean)


36
37
38
# File 'app/models/helena/question.rb', line 36

def includes_subquestions?
  false
end