Issue #13273 has been updated by Yui NARUSE.

Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: DONE

ruby_2_4 r57923 merged revision(s) 57765.

----------------------------------------
Bug #13273: [DOC] Proc#call docs show "Document-method: []" directive
https://bugs.ruby-lang.org/issues/13273#change-63493

* Author: Marcus Stollsteimer
* Status: Closed
* Priority: Normal
* Assignee: Marcus Stollsteimer
* Target version: 
* ruby -v: ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: DONE
----------------------------------------
The documentation for Proc#call displays one of its Document-method directives as a code block:

```
$ ri Proc.call

------------------------------------------------------------------------------
  prc.call(params,...)   -> obj
------------------------------------------------------------------------------

  Document-method: []

Invokes the block, ...
```

See also https://docs.ruby-lang.org/en/2.3.0/Proc.html#method-i-call.




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>