module Scorm2004

Public Class Methods

Manifest(*args) click to toggle source

@overload Manifest(manifest_file)

Parse and validate a manifest file.
Convenience method for Scorm2004::Manifest.parse
@param [String, IO] manifest_file manifest_file may be a String,
  or any object that responds to read and close such as an IO,
  or StringIO.
@return [Scorm2004::Manifest::Manifest]
@example Parse and validate a manifest file
  manifest = Scorm2004::Manifest(open('imsmanifest.xml'))
@raise This method raises an instance of Scorm2004::Manifest::Error's
  subclass if validation fails.
@see Scorm2004::Manifest.parse
# File lib/scorm2004/manifest.rb, line 70
def self.Manifest(*args)
  Scorm2004::Manifest.parse(*args)
end