okkez reported some mistakes in Rake rdoc to ruby-dev.

-------- Original Message --------
Subject: [ruby-dev:37398] [Bug #860] some mistakes in Rake RDoc
Date: Fri, 12 Dec 2008 14:03:06 +0900
From: okkez _ <redmine / ruby-lang.org>
Reply-To: ruby-dev / ruby-lang.org
To: ruby-dev / ruby-lang.org (ruby developers list)

Bug #860: some mistakes in Rake RDoc
http://redmine.ruby-lang.org/issues/show/860

起票者: okkez _
ステータス: Open, 優先度: Normal
カテゴリ: lib

少しおかしいところを見つけたのでパッチを書きました。

Index: rake.rb
===================================================================
--- rake.rb     (revision 20655)
+++ rake.rb     (working copy)
@@ -74,7 +74,7 @@
 #
 class String
   rake_extension("ext") do
-    # Replace the file extension with +newext+.  If there is no extenson on
+    # Replace the file extension with +newext+.  If there is no
extension on
     # the string, append the new extension to the end.  If the new
extension
     # is not given, or is the empty string, remove any existing extension.
     #
@@ -1459,7 +1459,7 @@
       collect { |fn| fn.pathmap(spec) }
     end

-    # Return a new array with <tt>String#ext</tt> method applied to each
+    # Return a new file list with <tt>String#ext</tt> method applied to
each
     # member of the array.
     #
     # This method is a shortcut for:
@@ -2077,7 +2077,7 @@
       tty_output? || ENV['RAKE_COLUMNS']
     end

-    # Display the tasks and dependencies.
+    # Display the tasks and comments.
     def display_tasks_and_comments
       displayable_tasks = tasks.select { |t|
         t.comment && t.name =~ options.show_task_pattern


----------------------------------------
http://redmine.ruby-lang.org