This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Nokogiri
|
||||
module XML
|
||||
class ElementDecl < Nokogiri::XML::Node
|
||||
undef_method :namespace
|
||||
undef_method :namespace_definitions
|
||||
undef_method :line if method_defined?(:line)
|
||||
|
||||
private
|
||||
|
||||
def inspect_attributes
|
||||
[:to_s]
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user