Class: Scorm2004::Manifest::Resource
- Inherits:
-
Object
- Object
- Scorm2004::Manifest::Resource
- Includes:
- Attributes, Children, Href, VisitorPattern, XmlBase
- Defined in:
- lib/scorm2004/manifest/resource.rb
Instance Attribute Summary collapse
-
#dependencies ⇒ Array<Dependency>
readonly
<dependency>.
-
#files ⇒ Array<File>
readonly
<file>.
-
#identifier ⇒ String
readonly
The identifier attribute of <resource>.
-
#scorm_type ⇒ String
readonly
The adlcp:scormType attribute of <resource>,
sco
orasset
.
Method Summary
Methods included from Href
Methods included from XmlBase
Methods included from Attributes
Methods included from Children
Methods included from VisitorPattern
included, #initialize, #metadata, #to_hash, #visit
Instance Attribute Details
#dependencies ⇒ Array<Dependency> (readonly)
Returns <dependency>.
24 |
# File 'lib/scorm2004/manifest/resource.rb', line 24 has_zero_or_more 'imscp:dependency' |
#files ⇒ Array<File> (readonly)
Returns <file>.
20 |
# File 'lib/scorm2004/manifest/resource.rb', line 20 has_zero_or_more 'imscp:file' |
#identifier ⇒ String (readonly)
Returns The identifier attribute of <resource>.
12 |
# File 'lib/scorm2004/manifest/resource.rb', line 12 attribute :id, 'identifier' |
#scorm_type ⇒ String (readonly)
Returns The adlcp:scormType attribute of <resource>, sco
or asset
.
16 |
# File 'lib/scorm2004/manifest/resource.rb', line 16 attribute :token, 'adlcp:scormType', vocabulary: %w( sco asset ) |