From: sto.mar@... Date: 2017-03-03T08:32:25+00:00 Subject: [ruby-core:79887] [Ruby trunk Bug#13273] [DOC] Proc#call docs show "Document-method: []" directive Issue #13273 has been reported by Marcus Stollsteimer. ---------------------------------------- Bug #13273: [DOC] Proc#call docs show "Document-method: []" directive https://bugs.ruby-lang.org/issues/13273 * Author: Marcus Stollsteimer * Status: Open * 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: UNKNOWN ---------------------------------------- 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: