Class: AssertXPath::LibxmlHelper

Inherits:
XmlHelper show all
Defined in:
lib/assert_xpath.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from XmlHelper

#hpricot?, #rexml?

Instance Method Details

#assert_xml(suite, *args, &block) ⇒ Object



203
204
205
# File 'lib/assert_xpath.rb', line 203

def assert_xml(suite, *args, &block)
  return suite.assert_libxml(*args, &block)
end

#libxml?Boolean

Returns:

  • (Boolean)


201
# File 'lib/assert_xpath.rb', line 201

def libxml? ;  true  end

#symbol_to_xpath(tag) ⇒ Object



202
# File 'lib/assert_xpath.rb', line 202

def symbol_to_xpath(tag)  "descendant-or-self::#{tag}"  end