Class: RSpactor::Spork
- Inherits:
-
Object
- Object
- RSpactor::Spork
- Defined in:
- lib/rspactor/spork.rb
Constant Summary collapse
- RSPEC_PORT =
8989
- CUCUMBER_PORT =
8990
Instance Attribute Summary collapse
-
#use_cucumber ⇒ Object
Returns the value of attribute use_cucumber.
Instance Method Summary collapse
-
#initialize(runner) ⇒ Spork
constructor
A new instance of Spork.
- #reload ⇒ Object
- #start ⇒ Object
Constructor Details
#initialize(runner) ⇒ Spork
Returns a new instance of Spork.
11 12 13 |
# File 'lib/rspactor/spork.rb', line 11 def initialize(runner) @use_cucumber = runner.cucumber? end |
Instance Attribute Details
#use_cucumber ⇒ Object
Returns the value of attribute use_cucumber.
9 10 11 |
# File 'lib/rspactor/spork.rb', line 9 def use_cucumber @use_cucumber end |
Instance Method Details
#reload ⇒ Object
19 20 21 |
# File 'lib/rspactor/spork.rb', line 19 def reload execute(:reload) end |
#start ⇒ Object
15 16 17 |
# File 'lib/rspactor/spork.rb', line 15 def start execute(:start) end |