Class: Nokogiri::XML::Text
- Inherits:
-
Object
- Object
- Nokogiri::XML::Text
- Defined in:
- lib/matcher/nokogiri_extensions.rb
Instance Method Summary collapse
Instance Method Details
#match?(other, matcher) ⇒ Boolean
52 53 54 55 |
# File 'lib/matcher/nokogiri_extensions.rb', line 52 def match?(other, matcher) return false unless other_elem = matching(other, matcher) matcher.evaluate(path, content, other_elem.content) end |