Project

General

Profile

Actions

Bug #14483

closed

Enchance Method docs

Added by zverok (Victor Shepelev) about 6 years ago. Updated over 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:85600]

Description

Main changes:

  • fix conflict with Proc methods documentation (currently one can see in fact Proc#call docs in place of Method#call);
  • add code examples to various Method's methods and Object#method;
  • emphasize (in code examples and docs) the &method(:name) idiom.

Files

method-docs.patch (3.27 KB) method-docs.patch zverok (Victor Shepelev), 02/16/2018 11:54 AM

Updated by naruse (Yui NARUSE) almost 6 years ago

  • Tracker changed from Misc to Bug
  • Assignee set to 13939
  • Backport set to 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
Actions #3

Updated by hsbt (Hiroshi SHIBATA) over 5 years ago

  • Status changed from Open to Assigned
Actions #4

Updated by aycabta (aycabta .) over 5 years ago

  • Status changed from Assigned to Closed

Applied in changeset trunk|r65283.


Improve docs of Proc / Method

  • proc.c: Add descriptions and code examples.

[ruby-core:85600] [Bug #14483]

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0