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
-
#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) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
permalink #initialize(verbose: false, worker: :none, num_runs: 100, seed: Random.new_seed, thread_report_on_exception: false) ⇒ Configuration
Returns a new instance of Configuration.
19 20 21 22 23 24 25 26 27 |
# File 'lib/pbt/check/configuration.rb', line 19 def initialize( verbose: false, worker: :none, num_runs: 100, seed: Random.new_seed, thread_report_on_exception: false ) super end |
Instance Attribute Details
permalink #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 |
permalink #seed ⇒ Object
Returns the value of attribute seed
6 7 8 |
# File 'lib/pbt/check/configuration.rb', line 6 def seed @seed end |
permalink #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 |
permalink #verbose ⇒ Object
Returns the value of attribute verbose
6 7 8 |
# File 'lib/pbt/check/configuration.rb', line 6 def verbose @verbose end |
permalink #worker ⇒ Object
Returns the value of attribute worker
6 7 8 |
# File 'lib/pbt/check/configuration.rb', line 6 def worker @worker end |