class HTMLProofer::XpathFunctions

stackoverflow.com/a/8812293

Public Instance Methods

case_sensitive_equals(node_set, str_to_match) click to toggle source
# 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