Skip to content

Commit

Permalink
Clean documents for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Mar 13, 2022
1 parent 9866755 commit 23e61a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions lib/rdoc/ri/driver.rb
Expand Up @@ -14,10 +14,8 @@

require_relative '../../rdoc'

##
# For RubyGems backwards compatibility

require_relative 'formatter'
require_relative 'formatter' # For RubyGems backwards compatibility
# TODO: Fix wierd documentation with `require_relative`

##
# The RI driver implements the command-line ri tool.
Expand Down
2 changes: 1 addition & 1 deletion lib/rdoc/task.rb
Expand Up @@ -323,7 +323,7 @@ module Rake
##
# For backwards compatibility

RDocTask = RDoc::Task
RDocTask = RDoc::Task # :nodoc:

end
# :startdoc:

0 comments on commit 23e61a2

Please sign in to comment.