Class: Shaf::Tasks::TestTask
- Inherits:
-
Rake::TestTask
- Object
- Rake::TestTask
- Shaf::Tasks::TestTask
- Defined in:
- lib/shaf/tasks/test_task.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ TestTask
constructor
A new instance of TestTask.
Constructor Details
#initialize(*args) ⇒ TestTask
Returns a new instance of TestTask.
6 7 8 9 10 11 12 13 |
# File 'lib/shaf/tasks/test_task.rb', line 6 def initialize(*args) super(*args) do |t| t.libs = %w(. api spec) t.verbose = true t.warning = false yield self if block_given? end end |