Class: Cucover::Controller
- Inherits:
-
Object
- Object
- Cucover::Controller
- Defined in:
- lib/cucover/controller.rb
Instance Method Summary collapse
-
#initialize(file_colon_line, store) ⇒ Controller
constructor
A new instance of Controller.
- #should_execute? ⇒ Boolean
Constructor Details
#initialize(file_colon_line, store) ⇒ Controller
Returns a new instance of Controller.
3 4 5 6 |
# File 'lib/cucover/controller.rb', line 3 def initialize(file_colon_line, store) @file_colon_line = file_colon_line @store = store end |
Instance Method Details
#should_execute? ⇒ Boolean
8 9 10 |
# File 'lib/cucover/controller.rb', line 8 def should_execute? dirty? or failed_on_last_run? end |