Class: Pbt::Check::Configuration
- Inherits:
-
Struct
- Object
- Struct
- Pbt::Check::Configuration
- Defined in:
- lib/pbt/check/configuration.rb
Overview
Configuration for Pbt.
Instance Attribute Summary collapse
-
#experimental_ractor_rspec_integration ⇒ Object
Returns the value of attribute experimental_ractor_rspec_integration.
-
#num_runs ⇒ Object
Returns the value of attribute num_runs.
-
#seed ⇒ Object
Returns the value of attribute seed.
-
#thread_report_on_exception ⇒ Object
Returns the value of attribute thread_report_on_exception.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
-
#worker ⇒ Object
Returns the value of attribute worker.
Instance Method Summary collapse
-
#initialize(verbose: false, worker: :none, num_runs: 100, seed: Random.new.seed, thread_report_on_exception: false, experimental_ractor_rspec_integration: false) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(verbose: false, worker: :none, num_runs: 100, seed: Random.new.seed, thread_report_on_exception: false, experimental_ractor_rspec_integration: false) ⇒ Configuration
Returns a new instance of Configuration.
21 22 23 24 25 26 27 28 29 30 |
# File 'lib/pbt/check/configuration.rb', line 21 def initialize( verbose: false, worker: :none, num_runs: 100, seed: Random.new.seed, thread_report_on_exception: false, experimental_ractor_rspec_integration: false ) super end |
Instance Attribute Details
#experimental_ractor_rspec_integration ⇒ Object
Returns the value of attribute experimental_ractor_rspec_integration
6 7 8 |
# File 'lib/pbt/check/configuration.rb', line 6 def experimental_ractor_rspec_integration @experimental_ractor_rspec_integration end |
#num_runs ⇒ Object
Returns the value of attribute num_runs
6 7 8 |
# File 'lib/pbt/check/configuration.rb', line 6 def num_runs @num_runs end |
#seed ⇒ Object
Returns the value of attribute seed
6 7 8 |
# File 'lib/pbt/check/configuration.rb', line 6 def seed @seed end |
#thread_report_on_exception ⇒ Object
Returns the value of attribute thread_report_on_exception
6 7 8 |
# File 'lib/pbt/check/configuration.rb', line 6 def thread_report_on_exception @thread_report_on_exception end |
#verbose ⇒ Object
Returns the value of attribute verbose
6 7 8 |
# File 'lib/pbt/check/configuration.rb', line 6 def verbose @verbose end |
#worker ⇒ Object
Returns the value of attribute worker
6 7 8 |
# File 'lib/pbt/check/configuration.rb', line 6 def worker @worker end |