Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardRubyThreads vs Ractors vs fibersSingle-choice MCQ

A Ractor tries to capture a non-shareable object from its surrounding scope. What does MRI do at the point the Ractor is created?

x = [1, 2, 3] Ractor.new { x.sum }