Class: HTMLProofer::XpathFunctions

Inherits:
Object
  • Object
show all
Defined in:
lib/html_proofer/xpath_functions.rb

Overview

Instance Method Summary collapse

Instance Method Details

#case_sensitive_equals(node_set, str_to_match) ⇒ Object



6
7
8
# File 'lib/html_proofer/xpath_functions.rb', line 6

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