diff options
author | OKURA Masafumi <[email protected]> | 2023-12-15 10:26:10 +0800 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2024-09-20 19:26:37 +0900 |
commit | 511925f99b4fc87b5461c42f3fd4de05670bea6f (patch) | |
tree | 58e5286826b576911baf8c3870bd448c18f00a9c /eval.c | |
parent | 34e008d0756a355e0658f9b52f7d66b4b8eee388 (diff) |
[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
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/9248
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |