Project

General

Profile

Bug #13273

[DOC] Proc#call docs show "Document-method: []" directive

Added by stomar (Marcus Stollsteimer) over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]
[ruby-core:79887]

Description

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.


Related issues

Related to Ruby master - Bug #13275: RDoc bug for "Document-method: []"ClosedActions

Also available in: Atom PDF