Class: Scorm2004::Manifest::Item

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

#completion_thresholdCompletionThreshold? (readonly)

Returns <adlcp:completionThreshold>.

Returns:



42
# File 'lib/scorm2004/manifest/item.rb', line 42

has_zero_or_one      'adlcp:completionThreshold'

#dataData? (readonly)

Returns <adlcp:data>.

Returns:

  • (Data, nil)

    <adlcp:data>



54
# File 'lib/scorm2004/manifest/item.rb', line 54

has_zero_or_one      'adlcp:data'

#data_from_lmsDataFromLms? (readonly)

Returns <adlcp:dataFromLMS>.

Returns:



38
# File 'lib/scorm2004/manifest/item.rb', line 38

has_zero_or_one      'adlcp:dataFromLMS'

#identifierString (readonly)

Returns The identifier attribute of <item>.

Returns:

  • (String)

    The identifier attribute of <item>



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

attribute :id,      'identifier'

#identifierrefString (readonly)

Returns The identifierref attribute of <item>.

Returns:

  • (String)

    The identifierref attribute of <item>



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

attribute :string,  'identifierref', allow_nil: true

#isvisibleBoolean (readonly)

Returns The isvisible attribute of <item>.

Returns:

  • (Boolean)

    The isvisible attribute of <item>



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

attribute :boolean, 'isvisible',     default: true

#itemArray<Item> (readonly)

Returns <item>.

Returns:

  • (Array<Item>)

    <item>



30
# File 'lib/scorm2004/manifest/item.rb', line 30

has_zero_or_more     'imscp:item'

#parametersString (readonly)

Returns The parameters attribute of <item>.

Returns:

  • (String)

    The parameters attribute of <item>



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

attribute :string,  'parameters',    allow_nil: true

#presentationPresentation? (readonly)

Returns <adlnav:presentation>.

Returns:



50
# File 'lib/scorm2004/manifest/item.rb', line 50

has_zero_or_one      'adlnav:presentation'

#sequencingSequencing? (readonly)

Returns <imsss:sequencing>.

Returns:



46
# File 'lib/scorm2004/manifest/item.rb', line 46

has_zero_or_one      'imsss:sequencing'

#time_limit_actionTimeLimitAction? (readonly)

Returns <adlcp:timeLimitAction>.

Returns:



34
# File 'lib/scorm2004/manifest/item.rb', line 34

has_zero_or_one      'adlcp:timeLimitAction'

#titleTitle (readonly)

Returns <title>.

Returns:



26
# File 'lib/scorm2004/manifest/item.rb', line 26

has_one_and_only_one 'imscp:title'