Class: FocusedTest

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ FocusedTest

Returns a new instance of FocusedTest.



11
12
13
# File 'lib/focused_test.rb', line 11

def initialize(*args)
  parse args
end

Class Method Details

.run(*args) ⇒ Object



6
7
8
# File 'lib/focused_test.rb', line 6

def run(*args)
  new(*args).run
end

Instance Method Details

#runObject



15
16
17
# File 'lib/focused_test.rb', line 15

def run
  strategy_for_file.call    
end