Module: Rake
- Defined in:
- lib/rdoc_rails/rake.rb
Defined Under Namespace
Classes: RDocTask
Class Method Summary collapse
Class Method Details
.remove_task(task_name) ⇒ Object
2 3 4 |
# File 'lib/rdoc_rails/rake.rb', line 2 def self.remove_task(task_name) Rake.application.instance_variable_get(:@tasks).delete(task_name.to_s) || raise('No such task!') end |