[Bug #860] some mistakes in Rake RDoc

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

e$B5/I<<Te(B: okkez _
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$B%+%F%4%je(B: lib

e$B>/$7$*$+$7$$$H$3$m$r8+$D$1$?$N$G%Q%C%A$r=q$-$^$7$?!#e(B

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 String#ext method applied to

each

  • Return a new file list with String#ext 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

e$B%A%1%C%He(B #860 e$B$,99?7$5$l$^$7$?!#e(B (by Yuki S.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B

I re-sent this issue to ruby-core as #865.

http://redmine.ruby-lang.org/issues/show/860