From 141c2aca8eb528286d85e8a62901446bc0932088 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Sat, 26 Aug 2023 15:27:30 -0400 Subject: [PATCH] doc(fix): correct :nodoc: This statement was moved in b910c6a5, incorrectly, and as a result the remaining methods in the file were undocumented. (cherry picked from commit cec3f21ec23015651a8568e9331078a1a6dcbc76) --- lib/nokogiri/xml/document.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/nokogiri/xml/document.rb b/lib/nokogiri/xml/document.rb index d6bbeefd912..4d8a10dd0ba 100644 --- a/lib/nokogiri/xml/document.rb +++ b/lib/nokogiri/xml/document.rb @@ -174,8 +174,7 @@ def empty_doc?(string_or_io) # Since v1.12.4 attr_accessor :namespace_inheritance - # :nodoc: - def initialize(*args) # rubocop:disable Lint/MissingSuper + def initialize(*args) # :nodoc: # rubocop:disable Lint/MissingSuper @errors = [] @decorators = nil @namespace_inheritance = false