[ruby-core:63466] [ruby-trunk - Bug #9998] [Assigned] docs state that define_singleton_method returns a proc if passed a block

From: e@...
Date: 2014-07-01 06:12:43 UTC
List: ruby-core #63466
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/

In This Thread

Prev Next