Class: LinkCheck::XpathFunctions
- Inherits:
-
Object
- Object
- LinkCheck::XpathFunctions
- Defined in:
- lib/html-proofer/check/links.rb
Instance Method Summary collapse
Instance Method Details
#case_insensitive_equals(node_set, str_to_match) ⇒ Object
140 141 142 |
# File 'lib/html-proofer/check/links.rb', line 140 def case_insensitive_equals(node_set, str_to_match) node_set.find_all { |node| node.to_s.casecmp(str_to_match.to_s.downcase).zero? } end |