summaryrefslogtreecommitdiff
path: root/include/ruby/internal
diff options
context:
space:
mode:
authorSatoshi Tagomori <s-tagomori@sakura.ad.jp>2025-10-14 21:42:55 +0900
committerSatoshi Tagomori <tagomoris@gmail.com>2025-10-14 22:59:14 +0900
commit9743b51806a8dc6843444e42f8e838831da99bcd (patch)
tree1488406ced82afe2aa271320fe550d8f30f9c320 /include/ruby/internal
parent7e07a8d8f662edcf112094750f6e2abed8b84803 (diff)
Define main.to_s even in namespaces
It just shows "main" just like the main object without namespace. All main objects in namespaces will show "main" and it is impossible to determine a main from main objects if it returns "main". But it's not a problem because we don't define anything on main objects usually.
Diffstat (limited to 'include/ruby/internal')
0 files changed, 0 insertions, 0 deletions