From 78ddb4f60306152a3f72971eb49177f3e9665734 Mon Sep 17 00:00:00 2001 From: marcandre Date: Tue, 22 Sep 2009 19:02:42 +0000 Subject: * proc.c (rb_mod_define_method): doc fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc.c b/proc.c index eafcf336bf..813390840e 100644 --- a/proc.c +++ b/proc.c @@ -1288,7 +1288,7 @@ rb_mod_define_method(int argc, VALUE *argv, VALUE mod) * define_singleton_method(symbol) { block } => proc * * Defines a singleton method in the receiver. The _method_ - * parameter can be a +Proc+ or +Method+ object. + * parameter can be a +Proc+, a +Method+ or an +UnboundMethod+ object. * If a block is specified, it is used as the method body. * * class A -- cgit v1.2.3