Skip to content

Commit 141c2ac

Browse files
committed
doc(fix): correct :nodoc:
This statement was moved in b910c6a, incorrectly, and as a result the remaining methods in the file were undocumented. (cherry picked from commit cec3f21)
1 parent 1aee13d commit 141c2ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/nokogiri/xml/document.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ def empty_doc?(string_or_io)
174174
# Since v1.12.4
175175
attr_accessor :namespace_inheritance
176176

177-
# :nodoc:
178-
def initialize(*args) # rubocop:disable Lint/MissingSuper
177+
def initialize(*args) # :nodoc: # rubocop:disable Lint/MissingSuper
179178
@errors = []
180179
@decorators = nil
181180
@namespace_inheritance = false

0 commit comments

Comments
 (0)