Class: Qti::V2::Models::Base

Inherits:
Models::Base show all
Defined in:
lib/qti/v2/models/base.rb

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

Models::Base::ELEMENTS_REMAP

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_versionObject



64
65
66
# File 'lib/qti/v2/models/base.rb', line 64

def qti_version
  2
end