diff options
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1932,8 +1932,8 @@ rb_mod_define_method(int argc, VALUE *argv, VALUE mod) /* * call-seq: - * define_singleton_method(symbol, method) -> new_method - * define_singleton_method(symbol) { block } -> proc + * define_singleton_method(symbol, method) -> symbol + * define_singleton_method(symbol) { block } -> symbol * * Defines a singleton method in the receiver. The _method_ * parameter can be a +Proc+, a +Method+ or an +UnboundMethod+ object. @@ -1965,8 +1965,8 @@ rb_obj_define_method(int argc, VALUE *argv, VALUE obj) } /* - * define_method(symbol, method) -> new_method - * define_method(symbol) { block } -> proc + * define_method(symbol, method) -> symbol + * define_method(symbol) { block } -> symbol * * Defines a global function by _method_ or the block. */ |