[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
This commit is contained in:
parent
34e008d075
commit
511925f99b
Notes:
git
2024-09-20 10:26:55 +00:00
2
eval.c
2
eval.c
@ -1547,7 +1547,7 @@ mod_using(VALUE self, VALUE module)
|
|||||||
* call-seq:
|
* call-seq:
|
||||||
* refinements -> array
|
* refinements -> array
|
||||||
*
|
*
|
||||||
* Returns an array of modules defined within the receiver.
|
* Returns an array of +Refinement+ defined within the receiver.
|
||||||
*
|
*
|
||||||
* module A
|
* module A
|
||||||
* refine Integer do
|
* refine Integer do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user