Class: Scorm2004::Manifest::RollupRules

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

Instance Attribute Summary collapse

Method Summary

Methods included from Attributes

included

Methods included from Children

included

Methods included from VisitorPattern

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

Instance Attribute Details

#objective_measure_weightFloat (readonly)

Returns The objectiveMeasureWeight attribute of <rollupRules>.

Returns:

  • (Float)

    The objectiveMeasureWeight attribute of <rollupRules>



18
# File 'lib/scorm2004/manifest/rollup_rules.rb', line 18

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

#rollup_objective_satisfiedBoolean (readonly)

Returns The rollupObjectiveSatisfied attribute of <rollupRules>.

Returns:

  • (Boolean)

    The rollupObjectiveSatisfied attribute of <rollupRules>



10
# File 'lib/scorm2004/manifest/rollup_rules.rb', line 10

attribute :boolean, 'rollupObjectiveSatisfied', default: true

#rollup_progress_completionBoolean (readonly)

Returns The rollupProgressCompletion attribute of <rollupRules>.

Returns:

  • (Boolean)

    The rollupProgressCompletion attribute of <rollupRules>



14
# File 'lib/scorm2004/manifest/rollup_rules.rb', line 14

attribute :boolean, 'rollupProgressCompletion', default: true

#rollup_rulesArray<RollupRule> (readonly)

Returns <imsss:rollupRule>.

Returns:



22
# File 'lib/scorm2004/manifest/rollup_rules.rb', line 22

has_zero_or_more 'imsss:rollupRule'