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, = {}) @strategy = strategy @output_path = [:output_path] || File.join(Dir.home, '.learn.debug') @client = [:client] || LearnTest::Client.new @debug = [:debug] end |