Project

General

Profile

Actions

Bug #9998

closed

docs state that define_singleton_method returns a proc if passed a block

Added by rits (First Last) almost 10 years ago. Updated almost 5 years ago.

Status:
Closed
Assignee:
Target version:
-
ruby -v:
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
[ruby-core:63448]

Description

it returns a symbol

I'm guessing the docs are wrong?

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0