Class | Test::Unit::XML::Conditionals |
In: |
lib/test/unit/xml/conditionals.rb
|
Parent: | Object |
This singleton class compares all types of REXML nodes.
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.