[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:
OKURA Masafumi 2023-12-15 10:26:10 +08:00 коммит произвёл Hiroshi SHIBATA
Родитель 34e008d075
Коммит 511925f99b
1 изменённых файлов: 1 добавлений и 1 удалений

2
eval.c
Просмотреть файл

@ -1547,7 +1547,7 @@ mod_using(VALUE self, VALUE module)
* call-seq:
* refinements -> array
*
* Returns an array of modules defined within the receiver.
* Returns an array of +Refinement+ defined within the receiver.
*
* module A
* refine Integer do