Module: TestXml::Matchers
- Included in:
- Spec::MatchXml, TestUnit
- Defined in:
- lib/test_xml/matchers.rb
Defined Under Namespace
Classes: XmlMatcher
Instance Method Summary collapse
Instance Method Details
#match_xml?(subject, pattern, compare_value = false) ⇒ Boolean
16 17 18 19 |
# File 'lib/test_xml/matchers.rb', line 16 def match_xml?(subject, pattern, compare_value = false) matcher = XmlMatcher.new(subject, pattern, compare_value) matcher.match? end |