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:
parent
9dc1a421cc
commit
ede1223028
1 changed files with 3 additions and 1 deletions
4
eval.c
4
eval.c
|
@ -1163,9 +1163,11 @@ refinement_module_include(int argc, VALUE *argv, VALUE module)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* refine(klass) { block } -> self
|
* refine(klass) { block } -> module
|
||||||
*
|
*
|
||||||
* Refine <i>klass</i> in the receiver.
|
* Refine <i>klass</i> in the receiver.
|
||||||
|
*
|
||||||
|
* Returns an overlayed module.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
|
Loading…
Add table
Reference in a new issue