module XRDSUtil

Class that handles XRDS parsing and XRD Service element extraction.

Public Instance Methods

last_xrd(root_element) click to toggle source
# File lib/yadis/xrds.rb, line 13
def last_xrd(root_element)
  REXML::XPath.match(root_element, '/xrdsns:XRDS/xrdns:XRD',
                     @@namespaces)[-1]
end