mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[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
1 changed files with 1 additions and 1 deletions
2
eval.c
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue