We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76bd61d commit 8461c74Copy full SHA for 8461c74
lib/nokogiri/xml/xpath.rb
@@ -3,9 +3,7 @@
3
4
module Nokogiri
5
module XML
6
- class XPath
7
- # The Nokogiri::XML::Document tied to this XPath instance
8
- attr_accessor :document
+ module XPath
9
end
10
11
lib/nokogiri/xml/xpath/syntax_error.rb
@@ -1,7 +1,7 @@
1
# frozen_string_literal: true
2
class SyntaxError < XML::SyntaxError
def to_s
[super.chomp, str1].compact.join(': ')
0 commit comments