summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authorYusuke Endoh <[email protected]>2024-02-15 20:04:23 +0900
committerYusuke Endoh <[email protected]>2024-02-15 20:43:11 +0900
commita7718c914a216457ca9d3806085e673eabda8b31 (patch)
tree99f122f32afba7f5c8407c6ac3eecd2bebc1c364 /variable.c
parent0da12fa34e904603d2aa84e25924a3fde8a44f39 (diff)
Do not show an anonymous class as a receiver
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/variable.c b/variable.c
index 7039baed6a..ab779f7420 100644
--- a/variable.c
+++ b/variable.c
@@ -111,6 +111,12 @@ classname(VALUE klass, bool *permanent)
return classpath;
}
+VALUE
+rb_mod_name0(VALUE klass, bool *permanent)
+{
+ return classname(klass, permanent);
+}
+
/*
* call-seq:
* mod.name -> string