1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* eval.c (rb_mod_refine): fix documentation.

Module#refine does not return self, but module.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ktsj 2012-08-02 14:38:48 +00:00
parent 9dc1a421cc
commit ede1223028

4
eval.c
View file

@ -1163,9 +1163,11 @@ refinement_module_include(int argc, VALUE *argv, VALUE module)
/*
* call-seq:
* refine(klass) { block } -> self
* refine(klass) { block } -> module
*
* Refine <i>klass</i> in the receiver.
*
* Returns an overlayed module.
*/
static VALUE