Project

General

Profile

Actions

Bug #860

closed

some mistakes in Rake RDoc

Added by okkez (okkez _) almost 13 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
ruby -v:
Backport:
[ruby-dev:37398]

Description

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

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
    =end


Related issues

Related to Ruby master - Bug #865: [Fwd: some mistakes in Rake RDoc]Closedyugui (Yuki Sonoda)12/24/2008Actions
Actions #1

Updated by yugui (Yuki Sonoda) almost 13 years ago

  • Target version set to 1.9.1 Release Candidate

=begin

=end

Actions #2

Updated by yugui (Yuki Sonoda) almost 13 years ago

  • Status changed from Open to Closed

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

Actions

Also available in: Atom PDF