Actions
Bug #9998
closeddocs state that define_singleton_method returns a proc if passed a block
Description
it returns a symbol
I'm guessing the docs are wrong?
Updated by nobu (Nobuyoshi Nakada) almost 10 years ago
- Target version set to 2.2.0
- Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: DONTNEED, 2.1: REQUIRED
- Category set to doc
The behavior has changed as def
.
Updated by zzak (zzak _) almost 10 years ago
- Status changed from Open to Assigned
- Assignee set to zzak (zzak _)
Thanks for the report!
Updated by jeremyevans0 (Jeremy Evans) almost 5 years ago
- Status changed from Assigned to Closed
Documentation fixed by ba32b53e4833c128ec6a079fca0e126d1bcd16dd.
Actions
Like0
Like0Like0Like0Like0