Class: AssertXPath::HpricotHelper

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

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from XmlHelper

#libxml?, #rexml?

Instance Method Details

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



195
196
197
# File 'lib/assert_xpath.rb', line 195

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

#hpricot?Boolean

Returns:

  • (Boolean)


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

def hpricot? ;  true  end

#symbol_to_xpath(tag) ⇒ Object



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

def symbol_to_xpath(tag)  tag.to_s  end