Closed ohbarye closed 5 months ago
This pull request adds a quite experimental feature that allows users to use RSpec matchers (expect, eq etc.) in Ractor mode with experimental_ractor_rspec_integration: true.
expect
eq
experimental_ractor_rspec_integration: true
The way to do that is a hack.
prism
class_eval
That's it.
I might remove this feature in future since it's a quite dirty hack and unstable.
Change
This pull request adds a quite experimental feature that allows users to use RSpec matchers (
expect
,eq
etc.) in Ractor mode withexperimental_ractor_rspec_integration: true
.The way to do that is a hack.
prism
gem. https://ruby.github.io/prism/class_eval
.That's it.
I might remove this feature in future since it's a quite dirty hack and unstable.