Method: LearnTest::Reporter#initialize

Defined in:
lib/learn_test/reporter.rb

#initialize(strategy, options = {}) ⇒ Reporter

Returns a new instance of Reporter.



17
18
19
20
21
22
# File 'lib/learn_test/reporter.rb', line 17

def initialize(strategy, options = {})
  @strategy = strategy
  @output_path = options[:output_path] || File.join(Dir.home, '.learn.debug')
  @client = options[:client] || LearnTest::Client.new
  @debug = options[:debug]
end