lib/vs_scorm/manifest.rb
# Versions of the SCORM standard that are supported
Versions of the SCORM standard that are supported
Versions of the SCORM standard that are supported
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 are supported
Versions of the SCORM standard that are supported
item
<not_specific>
attribute
<not_specific>