Method: Pbt::Check::Property#run_in_ractor
- Defined in:
- lib/pbt/check/property.rb
permalink #run_in_ractor(val) ⇒ Ractor
Run the predicate with the generated ‘val` in a Ractor. This is used only for parallel testing with Ractors.
49 50 51 |
# File 'lib/pbt/check/property.rb', line 49 def run_in_ractor(val) Ractor.new(val, &@predicate) end |