# \[Bug #860\] some mistakes in Rake RDoc

**URL:** <https://www.ruby-forum.com/t/bug-860-some-mistakes-in-rake-rdoc/155473>\
**Category:** Development\
**Created:** [December 12, 2008, 6:10am UTC](https://www.ruby-forum.com/t/bug-860-some-mistakes-in-rake-rdoc/155473 "2008-12-12T06:10:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![okkezSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/85f322/32.png) [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Post date:** [December 12, 2008, 6:10am UTC](https://www.ruby-forum.com/t/bug-860-some-mistakes-in-rake-rdoc/155473/1 "2008-12-12T06:10:34Z")

</div>

Bug #860: some mistakes in Rake RDoc  
[http://redmine.ruby-lang.org/issues/show/860](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

---

<div class="post-metadata">

**Author:** ![okkezSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/85f322/32.png) [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Post date:** [December 13, 2008, 8:53am UTC](https://www.ruby-forum.com/t/bug-860-some-mistakes-in-rake-rdoc/155473/2 "2008-12-13T08:53:35Z")

</div>

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](http://redmine.ruby-lang.org/issues/show/860)
