Class: AssertXPath::XmlHelper

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

Overview

:nodoc:

Direct Known Subclasses

HpricotHelper, LibxmlHelper, RexmlHelper

Instance Method Summary collapse

Instance Method Details

#hpricot?Boolean

situation. We can’t control their contents!

Returns:

  • (Boolean)


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

def hpricot? ; false end

#libxml?Boolean

this is not a ‘downcast’ (bad in OO)

Returns:

  • (Boolean)


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

def libxml? ;  false end

#rexml?Boolean

becase diverse libraries are a “boundary”

Returns:

  • (Boolean)


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

def rexml? ;   false end