summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorOKURA Masafumi <[email protected]>2023-12-15 10:26:10 +0800
committerHiroshi SHIBATA <[email protected]>2024-09-20 19:26:37 +0900
commit511925f99b4fc87b5461c42f3fd4de05670bea6f (patch)
tree58e5286826b576911baf8c3870bd448c18f00a9c /eval.c
parent34e008d0756a355e0658f9b52f7d66b4b8eee388 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index f7d3033834..7fb9d35903 100644
--- a/eval.c
+++ b/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