Class Test::Unit::XML::Conditionals
In: lib/test/unit/xml/conditionals.rb
Parent: Object

This singleton class compares all types of REXML nodes.

Methods

Public Class methods

The create method is used to create a singleton instance of the Conditionals class.

Public Instance methods

The method compares two REXML nodes representing an XML document, or part of a document. If the nodes are equal, the method returns true. If the nodes are not equal, the method returns false. If the nodes have child nodes, for example if the nodes are Element nodes with content, they will not be recursively compared.

[Validate]