Bug #860

some mistakes in Rake RDoc

Added by okkez _ about 3 years ago. Updated 10 months ago.

[ruby-dev:37398]
Status:Closed Start date:12/12/2008
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:lib
Target version:1.9.1 Release Candidate
ruby -v:

Description

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

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

Related issues

related to ruby-trunk - Bug #865: [Fwd: some mistakes in Rake RDoc] Closed 12/24/2008

Associated revisions

Revision 20722
Added by Yukihiro Matsumoto about 3 years ago

* string.c (sym_equal): remove documentation error "Otherwise, compares them as strings". [ruby-dev:37398]

Revision 20723
Added by Yukihiro Matsumoto about 3 years ago

* string.c (sym_inspect): quote if symbol contains non-printable characters. [ruby-dev:37398]

History

Updated by Yuki Sonoda about 3 years ago

  • Target version set to 1.9.1 Release Candidate

Updated by Yuki Sonoda about 3 years ago

  • Status changed from Open to Closed
I re-sent this issue to ruby-core as #865.

Also available in: Atom PDF