Project

General

Profile

Actions

Bug #14483

closed

Enchance Method docs

Added by zverok (Victor Shepelev) over 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
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) about 4 years ago

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

Updated by hsbt (Hiroshi SHIBATA) almost 4 years ago

  • Status changed from Open to Assigned
Actions #4

Updated by aycabta (aycabta .) over 3 years ago

  • Status changed from Assigned to Closed

Applied in changeset [ruby-core:85600] [..." href="/projects/ruby-master/repository/trunk/revisions/65283">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