Class: Simulacrum::Runner
- Inherits:
-
Object
- Object
- Simulacrum::Runner
- Defined in:
- lib/simulacrum/runner.rb
Overview
Base Runner class for running RSpec in parallel.
Instance Attribute Summary collapse
-
#exit_code ⇒ Object
readonly
Returns the value of attribute exit_code.
Instance Method Summary collapse
-
#initialize ⇒ Runner
constructor
A new instance of Runner.
- #run ⇒ Object
Constructor Details
#initialize ⇒ Runner
12 13 14 15 |
# File 'lib/simulacrum/runner.rb', line 12 def initialize configure_driver configure_rspec end |
Instance Attribute Details
#exit_code ⇒ Object (readonly)
Returns the value of attribute exit_code.
10 11 12 |
# File 'lib/simulacrum/runner.rb', line 10 def exit_code @exit_code end |
Instance Method Details
#run ⇒ Object
17 18 19 |
# File 'lib/simulacrum/runner.rb', line 17 def run @exit_code = run_rspec end |