Class: Scorm2004::Manifest::CompletionThreshold
- Inherits:
-
Object
- Object
- Scorm2004::Manifest::CompletionThreshold
- Includes:
- Attributes, VisitorPattern
- Defined in:
- lib/scorm2004/manifest/completion_threshold.rb
Instance Attribute Summary collapse
-
#completed_by_measure ⇒ Boolean
readonly
The
completedByMeasure
attribute of <completionThreshold>. -
#min_progress_measure ⇒ Float
readonly
The
minProgressMeasure
attribute of <completionThreshold>. -
#progress_weight ⇒ Float
readonly
The
progressWeight
attribute of <completionThreshold>.
Method Summary
Methods included from Attributes
Methods included from VisitorPattern
included, #initialize, #metadata, #to_hash, #visit
Instance Attribute Details
#completed_by_measure ⇒ Boolean (readonly)
Returns The completedByMeasure
attribute of <completionThreshold>.
9 |
# File 'lib/scorm2004/manifest/completion_threshold.rb', line 9 attribute :boolean, 'completedByMeasure', default: false |
#min_progress_measure ⇒ Float (readonly)
Returns 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_weight ⇒ Float (readonly)
Returns 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 |