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



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

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

#hpricot?Boolean

Returns:

  • (Boolean)


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

def hpricot? ;  true  end

#symbol_to_xpath(tag) ⇒ Object



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

def symbol_to_xpath(tag)  tag.to_s  end