Class: Coveralls::RakeTask
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- Coveralls::RakeTask
- Includes:
- Rake::DSL
- Defined in:
- lib/coveralls/rake/task.rb
Instance Method Summary collapse
-
#initialize(*args, &task_block) ⇒ RakeTask
constructor
A new instance of RakeTask.
Constructor Details
#initialize(*args, &task_block) ⇒ RakeTask
Returns a new instance of RakeTask.
8 9 10 11 12 13 14 15 16 |
# File 'lib/coveralls/rake/task.rb', line 8 def initialize(*args, &task_block) namespace :coveralls do desc "Push latest coverage results to Coveralls.io" task :push do require 'coveralls' Coveralls.push! end end end |