[PATCH] File class documentation hidden by ftools.rb
Lars Christensen <[email protected]> Sun, 14 Sep 2008 11:31:58 +0200 (Romance Standard Time)
| Newsgroups | gmane.comp.lang.ruby.documentation |
|---|---|
| Message-ID | <Pine.WNT.4.64.0809141128120.2692@cookie> |
Hello, "ri File" gives the documentation from lib/ftools.rb and not the intended description of the File class. ftools.rb has a declaration of the File class, which I suppose is not needed, so I removed it (attached patch). This fixes the documentation issues. All 1.8 branches are affected. trunk is not (ftools.rb was removed). Regards, Lars
ftools-rdoc.patch
(application/octet-stream, 318 B)
Index: lib/ftools.rb =================================================================== --- lib/ftools.rb (revision 19334) +++ lib/ftools.rb (working copy) @@ -28,8 +28,6 @@ # See the method descriptions below, and consider using FileUtils as it is # more comprehensive. # -class File -end class << File