diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-03-13 19:51:50 +0900 |
---|---|---|
committer | git <[email protected]> | 2022-03-13 19:56:42 +0900 |
commit | 0bcc3bd6abd881cb3985a6cd776e94a8ebd5b6ff (patch) | |
tree | e602893fb53cb6f98526de3a56fbd43abd460589 /lib/rdoc | |
parent | 45187a0fcddecc74dacc1881f2405a5ebe198081 (diff) |
[ruby/rdoc] Clean documents for backwards compatibility
https://github.com/ruby/rdoc/commit/23e61a208e
Diffstat (limited to 'lib/rdoc')
-rw-r--r-- | lib/rdoc/ri/driver.rb | 6 | ||||
-rw-r--r-- | lib/rdoc/task.rb | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/lib/rdoc/ri/driver.rb b/lib/rdoc/ri/driver.rb index 082fcc7e81..48a625c6cd 100644 --- a/lib/rdoc/ri/driver.rb +++ b/lib/rdoc/ri/driver.rb @@ -14,10 +14,8 @@ end 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. diff --git a/lib/rdoc/task.rb b/lib/rdoc/task.rb index 8890419db2..8ea2d0588c 100644 --- a/lib/rdoc/task.rb +++ b/lib/rdoc/task.rb @@ -323,7 +323,7 @@ module Rake ## # For backwards compatibility - RDocTask = RDoc::Task + RDocTask = RDoc::Task # :nodoc: end # :startdoc: |