Skip to content

Commit

Permalink
doc(fix): correct :nodoc:
Browse files Browse the repository at this point in the history
This statement was moved in b910c6a, incorrectly, and as a result the
remaining methods in the file were undocumented.

(cherry picked from commit cec3f21)
  • Loading branch information
flavorjones committed Aug 26, 2023
1 parent 1aee13d commit 141c2ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/nokogiri/xml/document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 141c2ac

Please sign in to comment.