Sha256: 6fc6c0f2003489bfeaa7fb9ab947241ac3c515c46bd094e55b888df2d3544789
Contents?: true
Size: 521 Bytes
Versions: 2
Compression:
Stored size: 521 Bytes
Contents
require "securerandom" module CanvasQtiToLearnosityConverter class QuizQuestion extend Forwardable def_delegators :@xml, :css def initialize(xml) @xml = xml end def extract_stimulus() mattext = @xml.css("item > presentation > material > mattext").first extract_mattext(mattext) end def extract_mattext(mattext_node) mattext_node.content end def make_identifier() SecureRandom.uuid end def dynamic_content_data() {} end end end
Version data entries
2 entries across 2 versions & 1 rubygems