Class: Guard::Codeception::Runner
- Inherits:
-
Object
- Object
- Guard::Codeception::Runner
- Defined in:
- lib/guard/codeception/runner.rb
Constant Summary collapse
- CODECEPTION_FAILURES_EXIT_CODE =
1- CODECEPTION_ERRORS_EXIT_CODE =
2
Instance Attribute Summary collapse
-
#notifier ⇒ Object
Returns the value of attribute notifier.
-
#options ⇒ Object
Returns the value of attribute options.
-
#parser ⇒ Object
Returns the value of attribute parser.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Runner
constructor
A new instance of Runner.
- #run ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Runner
Returns a new instance of Runner.
13 14 15 16 17 |
# File 'lib/guard/codeception/runner.rb', line 13 def initialize( = {}) @options = @parser = Guard::Codeception::Parser.new @notifier = Guard::Codeception::Notifier.new end |
Instance Attribute Details
#notifier ⇒ Object
Returns the value of attribute notifier.
8 9 10 |
# File 'lib/guard/codeception/runner.rb', line 8 def notifier @notifier end |
#options ⇒ Object
Returns the value of attribute options.
8 9 10 |
# File 'lib/guard/codeception/runner.rb', line 8 def @options end |
#parser ⇒ Object
Returns the value of attribute parser.
8 9 10 |
# File 'lib/guard/codeception/runner.rb', line 8 def parser @parser end |
Instance Method Details
#run ⇒ Object
19 20 21 |
# File 'lib/guard/codeception/runner.rb', line 19 def run _run if _codeception_exists? end |