From: nagachika00@... Date: 2017-03-27T17:38:12+00:00 Subject: [ruby-core:80408] [Ruby trunk Bug#13273] [DOC] Proc#call docs show "Document-method: []" directive Issue #13273 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 2.2: DONE, 2.3: REQUIRED, 2.4: DONE to 2.2: DONE, 2.3: DONE, 2.4: DONE ruby_2_3 r58185 merged revision(s) 57765. ---------------------------------------- Bug #13273: [DOC] Proc#call docs show "Document-method: []" directive https://bugs.ruby-lang.org/issues/13273#change-63901 * Author: stomar (Marcus Stollsteimer) * Status: Closed * Priority: Normal * Assignee: stomar (Marcus Stollsteimer) * Target version: * ruby -v: ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux] * Backport: 2.2: DONE, 2.3: DONE, 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: