mirror of
https://github.com/ruby/ruby.git
synced 2026-11-09 00:42:18 +00:00
The do block attaches to define_method while &Ractor.shareable_proc also passes a block argument, so the example fails to parse. Pass the shareable proc as a positional argument instead.