Class: Scorm2004::Manifest::RollupCondition
- Inherits:
-
Object
- Object
- Scorm2004::Manifest::RollupCondition
- Includes:
- Attributes, VisitorPattern
- Defined in:
- lib/scorm2004/manifest/rollup_condition.rb
Constant Summary collapse
- CONDITIONS =
[ 'satisfied', 'objectiveStatusKnown', 'objectiveMeasureKnown', 'completed', 'activityProgressKnown', 'attempted', 'attemptLimitExceeded', 'timeLimitExceeded', 'outsideAvailableTimeRange' ]
Instance Attribute Summary collapse
-
#condition ⇒ String
readonly
The
condition
attribute of <rollupCondition>. -
#operator ⇒ String
readonly
The
operator
attribute of <rollupCondition>.
Method Summary
Methods included from Attributes
Methods included from VisitorPattern
included, #initialize, #metadata, #to_hash, #visit
Instance Attribute Details
#condition ⇒ String (readonly)
Returns The condition
attribute of <rollupCondition>.
25 |
# File 'lib/scorm2004/manifest/rollup_condition.rb', line 25 attribute :token, 'condition', vocabulary: CONDITIONS |
#operator ⇒ String (readonly)
Returns The operator
attribute of <rollupCondition>.
21 |
# File 'lib/scorm2004/manifest/rollup_condition.rb', line 21 attribute :token, 'operator', vocabulary: %w( not noOp ), default: 'noOp' |