Class: Scorm2004::Manifest::CompletionThreshold

Inherits:
Object
  • Object
show all
Includes:
Attributes, VisitorPattern
Defined in:
lib/scorm2004/manifest/completion_threshold.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

#completed_by_measureBoolean (readonly)

Returns The completedByMeasure attribute of <completionThreshold>.

Returns:

  • (Boolean)

    The completedByMeasure attribute of <completionThreshold>



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

attribute :boolean, 'completedByMeasure', default: false

#min_progress_measureFloat (readonly)

Returns The minProgressMeasure attribute of <completionThreshold>.

Returns:

  • (Float)

    The minProgressMeasure attribute of <completionThreshold>



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

attribute :decimal, 'minProgressMeasure', default: 1.0, range: 0.0..1.0

#progress_weightFloat (readonly)

Returns The progressWeight attribute of <completionThreshold>.

Returns:

  • (Float)

    The progressWeight attribute of <completionThreshold>



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

attribute :decimal, 'progressWeight',     default: 1.0, range: 0.0..1.0