Class: Cucover::Controller

Inherits:
Object
  • Object
show all
Defined in:
lib/cucover/controller.rb

Instance Method Summary collapse

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

Returns:

  • (Boolean)


8
9
10
# File 'lib/cucover/controller.rb', line 8

def should_execute?
  dirty? or failed_on_last_run?
end