Class: Senkyoshi::QuizBowl

Inherits:
Question show all
Defined in:
lib/senkyoshi/models/questions/quiz_bowl.rb

Constant Summary

Constants inherited from Question

Senkyoshi::Question::ITEM_FUNCTION, Senkyoshi::Question::QUESTION_TYPE

Instance Attribute Summary

Attributes inherited from Question

#answers

Instance Method Summary collapse

Methods inherited from Question

#canvas_conversion, from, #get_fraction, #initialize, #iterate_item, #set_answers, #set_correct_answers, #set_feedback, #set_incorrect_answers, #set_material, #set_max_score

Methods inherited from Resource

#_find_directories, #_fix_path, #_matches_directory_xid?, #_search_and_replace, #cleanup, #fix_html, get_pre_data, #matches_xid?, #strip_xid

Constructor Details

This class inherits a constructor from Senkyoshi::Question

Instance Method Details

#iterate_xml(data) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/senkyoshi/models/questions/quiz_bowl.rb', line 20

def iterate_xml(data)
  super
  @material = "#{@title} -- This question was imported from
    an external source. It was a #{@blackboard_type} question,
    which is not supported in this quiz tool."
  self
end