Class: Scorm2004::Manifest::RandomizationControls
- Inherits:
-
Object
- Object
- Scorm2004::Manifest::RandomizationControls
- Includes:
- Attributes, VisitorPattern
- Defined in:
- lib/scorm2004/manifest/randomization_controls.rb
Constant Summary collapse
- TIMINGS =
%w( never once onEachNewAttempt )
Instance Attribute Summary collapse
-
#randomization_timing ⇒ String
readonly
The
randomizationTiming
attribute of <randomizationControls>. -
#reorder_children ⇒ Boolean
readonly
The
reorderChildren
attribute of <randomizationControls>. -
#select_count ⇒ Fixnum
readonly
The
selectCount
attribute of <randomizationControls>. -
#selection_timing ⇒ String
readonly
The
selectionTiming
attribute of <randomizationControls>.
Method Summary
Methods included from Attributes
Methods included from VisitorPattern
included, #initialize, #metadata, #to_hash, #visit
Instance Attribute Details
#randomization_timing ⇒ String (readonly)
Returns The randomizationTiming
attribute of <randomizationControls>.
11 |
# File 'lib/scorm2004/manifest/randomization_controls.rb', line 11 attribute :token, 'randomizationTiming', vocabulary: TIMINGS, default: 'never' |
#reorder_children ⇒ Boolean (readonly)
Returns The reorderChildren
attribute of <randomizationControls>.
19 |
# File 'lib/scorm2004/manifest/randomization_controls.rb', line 19 attribute :boolean, 'reorderChildren', default: false |
#select_count ⇒ Fixnum (readonly)
Returns The selectCount
attribute of <randomizationControls>.
15 |
# File 'lib/scorm2004/manifest/randomization_controls.rb', line 15 attribute :non_negative_integer, 'selectCount', allow_nil: true |
#selection_timing ⇒ String (readonly)
Returns The selectionTiming
attribute of <randomizationControls>.
23 |
# File 'lib/scorm2004/manifest/randomization_controls.rb', line 23 attribute :token, 'selectionTiming', vocabulary: TIMINGS, default: 'never' |