Skip to content

Commit 23e61a2

Browse files
committed
Clean documents for backwards compatibility
1 parent 9866755 commit 23e61a2

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

lib/rdoc/ri/driver.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@
1414

1515
require_relative '../../rdoc'
1616

17-
##
18-
# For RubyGems backwards compatibility
19-
20-
require_relative 'formatter'
17+
require_relative 'formatter' # For RubyGems backwards compatibility
18+
# TODO: Fix wierd documentation with `require_relative`
2119

2220
##
2321
# The RI driver implements the command-line ri tool.

lib/rdoc/task.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ module Rake
323323
##
324324
# For backwards compatibility
325325

326-
RDocTask = RDoc::Task
326+
RDocTask = RDoc::Task # :nodoc:
327327

328328
end
329329
# :startdoc:

0 commit comments

Comments
 (0)