Class: Qti::V1::Models::Assessment
- Inherits:
-
Base
- Object
- Models::Base
- Base
- Qti::V1::Models::Assessment
- Defined in:
- lib/qti/v1/models/assessment.rb
Constant Summary
Constants inherited from Models::Base
Instance Method Summary collapse
Methods inherited from Base
Methods inherited from Models::Base
#css_with_single_check, from_path!, #initialize, #parse_xml, #remap_href_path, #remap_unknown_tags_transformer, #sanitize_config, #sanitize_content!, #xpath_with_single_check
Constructor Details
This class inherits a constructor from Qti::Models::Base
Instance Method Details
#assessment_items ⇒ Object
11 12 13 |
# File 'lib/qti/v1/models/assessment.rb', line 11 def assessment_items @doc.xpath('//item') end |
#title ⇒ Object
7 8 9 |
# File 'lib/qti/v1/models/assessment.rb', line 7 def title @title ||= xpath_with_single_check('//assessment/@title').content end |