Project

General

Profile

Actions

Bug #865

closed

[Fwd: some mistakes in Rake RDoc]

Added by yugui (Yuki Sonoda) almost 14 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
1.9.1
Backport:
[ruby-core:20520]

Description

=begin
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 _
Reply-To:
To: (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 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

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


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #860: some mistakes in Rake RDocClosed12/12/2008Actions
Actions

Also available in: Atom PDF