Project

General

Profile

Actions

Bug #20954

closed

Ractor.main? returns 0 on the main ractor

Added by zverok (Victor Shepelev) 7 days ago. Updated 6 days ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
3.4.0dev (2024-12-15T13:36:38Z master 366fd9642f) +PRISM [x86_64-linux]
[ruby-core:120251]

Description

Very minor (as the value is still truthy) but slightly confusing.

Ractor.main? #=> 0
$ ruby -v
ruby 3.4.0dev (2024-12-15T13:36:38Z master 366fd9642f) +PRISM [x86_64-linux]
Actions

Also available in: Atom PDF

Like0
Like0Like0