This commit is contained in:
1 parent
c8ac4fcae5
commit
4cee170d66
17576 files changed
+895740
-2
No files matched your search
@@ -0,0 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module HTMLProofer
|
||||
# https://stackoverflow.com/a/8812293
|
||||
class XpathFunctions
|
||||
def case_sensitive_equals(node_set, str_to_match)
|
||||
node_set.find_all { |node| node.to_s == str_to_match.to_s }
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user