Class: Scorm2004::Manifest::ControlMode

Inherits:
Object
  • Object
show all
Includes:
Attributes, VisitorPattern
Defined in:
lib/scorm2004/manifest/control_mode.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Attributes

included

Methods included from VisitorPattern

included, #initialize, #metadata, #to_hash, #visit

Instance Attribute Details

#choiceBoolean (readonly)

Returns The choice attribute of <controlMode>.

Returns:

  • (Boolean)

    The choice attribute of <controlMode>



9
# File 'lib/scorm2004/manifest/control_mode.rb', line 9

attribute :boolean, 'choice',                         default: true

#choice_exitBoolean (readonly)

Returns The choiceExit attribute of <controlMode>.

Returns:

  • (Boolean)

    The choiceExit attribute of <controlMode>



13
# File 'lib/scorm2004/manifest/control_mode.rb', line 13

attribute :boolean, 'choiceExit',                     default: true

#flowBoolean (readonly)

Returns The flow attribute of <controlMode>.

Returns:

  • (Boolean)

    The flow attribute of <controlMode>



17
# File 'lib/scorm2004/manifest/control_mode.rb', line 17

attribute :boolean, 'flow',                           default: false

#forward_onlyBoolean (readonly)

Returns The forwardOnly attribute of <controlMode>.

Returns:

  • (Boolean)

    The forwardOnly attribute of <controlMode>



21
# File 'lib/scorm2004/manifest/control_mode.rb', line 21

attribute :boolean, 'forwardOnly',                    default: false

#use_current_attempt_objective_infoBoolean (readonly)

Returns The useCurrentAttemptObjectiveInfo attribute of <controlMode>.

Returns:

  • (Boolean)

    The useCurrentAttemptObjectiveInfo attribute of <controlMode>



25
# File 'lib/scorm2004/manifest/control_mode.rb', line 25

attribute :boolean, 'useCurrentAttemptObjectiveInfo', default: true

#use_current_attempt_progress_infoBoolean (readonly)

Returns The useCurrentAttemptProgressInfo attribute of <controlMode>.

Returns:

  • (Boolean)

    The useCurrentAttemptProgressInfo attribute of <controlMode>



29
# File 'lib/scorm2004/manifest/control_mode.rb', line 29

attribute :boolean, 'useCurrentAttemptProgressInfo',  default: true