Class: AssertXPath::RexmlHelper

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

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from XmlHelper

#hpricot?, #libxml?

Instance Method Details

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



209
210
211
# File 'lib/assert_xpath.rb', line 209

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

#rexml?Boolean

Returns:

  • (Boolean)


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

def rexml? ;   true  end

#symbol_to_xpath(tag) ⇒ Object



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

def symbol_to_xpath(tag)  ".//#{tag}"  end