Hacker News new | ask | show | jobs
by viralpraxis 449 days ago
One thing people usually do is

D = Data.define do E = new end

which is wrong since ’E‘ escapes (it becomes ´Object::E´)

also, I agree that its kinda weird to use Ractor API but for us (service object gem) it was the best way to check if an argument is immutable (via Ractor.shareable?)