Bug #9998

docs state that define_singleton_method returns a proc if passed a block

Added by First Last over 1 year ago. Updated over 1 year ago.

Assignee:Zachary Scott
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?


#1 Updated by Nobuyoshi Nakada over 1 year ago

  • Target version set to current: 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.

#2 Updated by Zachary Scott over 1 year ago

  • Status changed from Open to Assigned
  • Assignee set to Zachary Scott

Thanks for the report!

Also available in: Atom PDF