Class: LinkCheck::XpathFunctions

Inherits:
Object
  • Object
show all
Defined in:
lib/html-proofer/check/links.rb

Instance Method Summary collapse

Instance Method Details

#case_sensitive_equals(node_set, str_to_match) ⇒ Object


144
145
146
# File 'lib/html-proofer/check/links.rb', line 144

def case_sensitive_equals(node_set, str_to_match)
  node_set.find_all { |node| node.to_s. == str_to_match.to_s }
end