Project

General

Profile

Actions

Bug #5349

closed

Add back documentation for Proc#call and Proc#[]

Added by akahn (Alexander Kahn) about 13 years ago. Updated about 13 years ago.

Status:
Closed
Target version:
ruby -v:
1.9.3
Backport:
[ruby-core:<unknown>]

Description

When matz added support for Proc#=== (https://github.com/akahn/ruby/commit/dd27b8f4577a96385a29d91e4bd75fb547213fc9), rdoc stopped outputting the documentation for Proc#call and Proc#[], which are far more commonly used. This patch adds back the documentation for these more commonly used methods, and while adding a description of Proc#===.


Files

Updated by drbrain (Eric Hodel) about 13 years ago

I decided to keep #call and #=== separate, so I moved the === documentation above the call documentation and added a Document-method line.

Actions #2

Updated by drbrain (Eric Hodel) about 13 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r33390.
Alexander, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • proc.c (proc_call): Fix documentation of Proc#call vs Proc#===.
    [Ruby 1.9 - Bug #5349]
Actions

Also available in: Atom PDF

Like0
Like0Like0