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



211
212
213
# File 'lib/assert_xpath.rb', line 211

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

#rexml?Boolean

Returns:

  • (Boolean)


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

def rexml? ;   true  end

#symbol_to_xpath(tag) ⇒ Object



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

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