lib/scorm/manifest.rb
# Versions of the SCORM standard that is supported when running in
# strict mode. When not running in strict mode, the library will not
# care about the version specified in the package manifest and will
# simply try its best to parse the information that it finds.
Versions of the SCORM standard that is supported when running in
strict mode. When not running in strict mode, the library will not
care about the version specified in the package manifest and will
simply try its best to parse the information that it finds.
Versions of the SCORM standard that is supported when running in strict mode . When not running in strict mode the library will not care about the version specified in the package manifest and will simply try its best to parse the information that it finds .
def sco(item, attribute = nil)
      resource = self.resources(:id => item.resource_id).first
      resource = (resource && resource.scorm_type == 'sco') ? resource : nil
      return (resource && attribute) ? resource.send(attribute) : resource
    end
def sco ( item , attribute = nil ) resource = self . resources ( :id => item . resource_id ) . first resource = ( resource && resource . scorm_type == 'sco' ) ? resource : nil return ( resource && attribute ) ? resource . send ( attribute ) : resource end
Versions of the SCORM standard that is supported when running in
strict mode.
Versions of the SCORM standard that is supported when running in strict mode .
item
<not_specific>
attribute
<not_specific>