Skip to content

Commit 69b516e

Browse files
authored
[DOC] Move RubygemsHook doc to the right place (#1629)
It shouldn't be added to `RDoc` module.
1 parent c59a7a8 commit 69b516e

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

lib/rdoc/rubygems_hook.rb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -254,18 +254,18 @@ def setup
254254

255255
end
256256

257-
# This class is referenced by RubyGems to create documents.
258-
# All implementations are moved to the above RubyGemsHook.
259-
#
260-
# This class does nothing when this RDoc is installed as a normal gem
261-
# or a bundled gem.
262-
#
263-
# This class does generate/remove documents for compatibility when
264-
# this RDoc is installed as a default gem.
265-
#
266-
# We can remove this when all maintained RubyGems remove
267-
# `rubygems/rdoc.rb`.
268257
module RDoc
258+
# This class is referenced by RubyGems to create documents.
259+
# All implementations are moved to the above RubyGemsHook.
260+
#
261+
# This class does nothing when this RDoc is installed as a normal gem
262+
# or a bundled gem.
263+
#
264+
# This class does generate/remove documents for compatibility when
265+
# this RDoc is installed as a default gem.
266+
#
267+
# We can remove this when all maintained RubyGems remove
268+
# `rubygems/rdoc.rb`.
269269
class RubygemsHook
270270

271271
attr_accessor :generate_rdoc, :generate_ri, :force

0 commit comments

Comments
 (0)