Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
enhance(deps=nil, &block)
public
Enhance a task with prerequisites or actions. Returns self.
# File lib/rake/task.rb, line 100
def enhance(deps=nil, &block)
@prerequisites |= deps if deps
@actions << block if block_given?
self
end