class Multichoice
Attributes
alternatives[RW]
Public Class Methods
new(type, id, question_text, alternatives = Hash.new)
click to toggle source
Calls superclass method
Question::new
# File lib/quizzer.rb, line 96 def initialize(type, id, question_text, alternatives = Hash.new) super(type, id, question_text) @alternatives = alternatives end