summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-22 19:02:42 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-22 19:02:42 +0000
commit78ddb4f60306152a3f72971eb49177f3e9665734 (patch)
tree3f269833a391c8a0dc434946adf82a258d898439
parente12b255cfc0e7bf42debdbd57e21fd04e115a089 (diff)
* 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
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
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