Class: Graham::RakeTask

Inherits:
Object
  • Object
show all
Includes:
Rake::DSL
Defined in:
lib/graham/rake_task.rb

Overview

outputs the running time of t once it finishes.

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ RakeTask

Returns a new instance of RakeTask.



21
22
23
24
25
26
# File 'lib/graham/rake_task.rb', line 21

def initialize(opts = {})
  @dir    = opts[:dir]    || :test
  @ignore = opts[:ignore] || []
  @name   = opts[:name]   || @dir
  make_task
end