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
117 118 119 |
# File 'lib/html-proofer/check/links.rb', line 117 def case_insensitive_equals(node_set, str_to_match) node_set.find_all {|node| node.to_s.downcase == str_to_match.to_s.downcase } end |