Class: Nokogiri::XML::Attr
- Inherits:
-
Object
- Object
- Nokogiri::XML::Attr
- Defined in:
- lib/matcher/nokogiri_extensions.rb
Instance Method Summary collapse
Instance Method Details
#match?(other, matcher) ⇒ Boolean
61 62 63 64 |
# File 'lib/matcher/nokogiri_extensions.rb', line 61 def match?(other, matcher) return false unless other_elem = matching(other, matcher) matcher.evaluate(path, value, other_elem.value) end |