Class: Lax::RakeTask
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ RakeTask
constructor
A new instance of RakeTask.
Constructor Details
#initialize(opts = {}) ⇒ RakeTask
Returns a new instance of RakeTask.
4 5 6 7 8 9 10 11 12 |
# File 'lib/lax/rake_task.rb', line 4 def initialize(opts = {}) dir = opts.delete(:dir) || :test runner_opts = { start: CB::StartTime, after: CB::SimpleOut, finish: CB::StopTime + CB::Summary + CB::FailList }.merge opts make_tasks dir, runner_opts end |