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

Instance Method Summary collapse

Methods inherited from Question

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

Constructor Details

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

Returns a new instance of SelectMultiple.



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

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