[ruby-core:93867] [Ruby master Bug#9998] docs state that define_singleton_method returns a proc if passed a block
From:
merch-redmine@...
Date:
2019-07-22 04:13:56 UTC
List:
ruby-core #93867
Issue #9998 has been updated by jeremyevans0 (Jeremy Evans). Status changed from Assigned to Closed Documentation fixed by commit:ba32b53e4833c128ec6a079fca0e126d1bcd16dd. ---------------------------------------- Bug #9998: docs state that define_singleton_method returns a proc if passed a block https://bugs.ruby-lang.org/issues/9998#change-79802 * Author: rits (First Last) * Status: Closed * Priority: Normal * Assignee: zzak (Zachary Scott) * Target version: * ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] * Backport: 2.0.0: DONTNEED, 2.1: REQUIRED ---------------------------------------- it returns a symbol I'm guessing the docs are wrong? -- 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>