Skip to content

Commit 511925f

Browse files
okuramasafumihsbt
authored andcommitted
[ci-skip] Fix doc for refinements
The current doc is partially wrong since `refinements` method returns an array of `Refinement` class, not `Module`. I'm not sure if it's right to link to `Refinement`, but it has some documentation so it should be useful. https://docs.ruby-lang.org/en/3.2/Refinement.html
1 parent 34e008d commit 511925f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,7 @@ mod_using(VALUE self, VALUE module)
15471547
* call-seq:
15481548
* refinements -> array
15491549
*
1550-
* Returns an array of modules defined within the receiver.
1550+
* Returns an array of +Refinement+ defined within the receiver.
15511551
*
15521552
* module A
15531553
* refine Integer do

0 commit comments

Comments
 (0)