Class: Qti::V2::Models::Base
- Inherits:
-
Models::Base
- Object
- Models::Base
- Qti::V2::Models::Base
- Defined in:
- lib/qti/v2/models/base.rb
Direct Known Subclasses
AssessmentItem, AssessmentTest, Choices::SimpleChoice, Interactions::ChoiceInteraction
Constant Summary collapse
- BODY_ELEMENTS_CSS =
%w( atomicBlock atomicInline caption choice col colgroup div dl dlElement hr img li object ol p printedVariable prompt simpleBlock simpleInline table tableCell tbody templateElement tfoot thead tr ul infoControl ).join(',').freeze
- INTERACTION_ELEMENTS_CSS =
%w( blockInteraction customInteraction inlineInteraction positionObjectInteraction endAttemptInteraction inlineChoiceInteraction textEntryInteraction associateInteraction choiceInteraction drawingInteraction extendedTextInteraction gapMatchInteraction graphicInteraction hottextInteraction matchInteraction mediaInteraction orderInteraction sliderInteraction uploadInteraction ).join(',').freeze
- CHOICE_ELEMENTS_CSS =
%w( simpleChoice ).join(',').freeze
Constants inherited from Models::Base
Instance Method Summary collapse
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
#qti_version ⇒ Object
64 65 66 |
# File 'lib/qti/v2/models/base.rb', line 64 def qti_version 2 end |