Bug #5349

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

Added by Alexander Kahn over 2 years ago. Updated over 2 years ago.

[ruby-core:<unknown>]
Status:Closed
Priority:Normal
Assignee:Eric Hodel
Category:doc
Target version:1.9.3
ruby -v:1.9.3 Backport:

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#===.

0001-Add-back-documentation-for-Proc-call-etc.patch Magnifier (1.67 KB) Alexander Kahn, 09/22/2011 05:20 AM

Associated revisions

Revision 33390
Added by Eric Hodel over 2 years ago

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

History

#1 Updated by Eric Hodel over 2 years ago

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

#2 Updated by Eric Hodel over 2 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]

Also available in: Atom PDF