diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-22 19:02:42 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-22 19:02:42 +0000 |
commit | 78ddb4f60306152a3f72971eb49177f3e9665734 (patch) | |
tree | 3f269833a391c8a0dc434946adf82a258d898439 /proc.c | |
parent | e12b255cfc0e7bf42debdbd57e21fd04e115a089 (diff) | |
download | ruby-78ddb4f60306152a3f72971eb49177f3e9665734.tar.gz |
* 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
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |