From: e@... Date: 2014-07-01T06:12:43+00:00 Subject: [ruby-core:63466] [ruby-trunk - Bug #9998] [Assigned] docs state that define_singleton_method returns a proc if passed a block Issue #9998 has been updated by Zachary Scott. Status changed from Open to Assigned Assignee set to Zachary Scott Thanks for the report! ---------------------------------------- Bug #9998: docs state that define_singleton_method returns a proc if passed a block https://bugs.ruby-lang.org/issues/9998#change-47507 * Author: First Last * Status: Assigned * Priority: Normal * Assignee: Zachary Scott * Category: doc * Target version: current: 2.2.0 * 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/