Class: SelectMultiple

Inherits:
MultipleChoice show all
Defined in:
lib/ruql/select_multiple.rb

Instance Attribute Summary

Attributes inherited from MultipleChoice

#multiple

Attributes inherited from Question

#answers, #name, #points, #question_comment, #question_tags, #question_text, #randomize, #raw

Instance Method Summary collapse

Methods inherited from Question

#answer, #answer_helper, #comment, #correct_answer, #correct_answers, #distractor, #explanation, from_JSON, #raw?, #tags, #text, #to_JSON

Constructor Details

#initialize(text = '', opts = {}) ⇒ SelectMultiple

Returns a new instance of SelectMultiple.



2
3
4
5
# File 'lib/ruql/select_multiple.rb', line 2

def initialize(text='', opts={})
  super
  self.multiple = true
end