module Scorm2004::Manifest::Children
Public Class Methods
included(base)
click to toggle source
# File lib/scorm2004/manifest/children.rb, line 4 def self.included(base) base.extend(ClassMethods) end
Private Instance Methods
at(xpath)
click to toggle source
# File lib/scorm2004/manifest/children.rb, line 10 def at(xpath) xpath = './' + xpath unless /^\.\// =~ xpath @el.at(xpath, NS) end
create_visitor(name)
click to toggle source
# File lib/scorm2004/manifest/children.rb, line 20 def create_visitor(name) send("#{name}_visitor".intern) end
search(xpath)
click to toggle source
# File lib/scorm2004/manifest/children.rb, line 15 def search(xpath) xpath = './' + xpath unless /^\.\// =~ xpath @el.search(xpath, NS) end