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.
invoke(*args)
public
Invoke the task if it is needed. Prerequisites are invoked first.
# File lib/rake/task.rb, line 163
def invoke(*args)
task_args = TaskArguments.new(arg_names, args)
invoke_with_call_chain(task_args, InvocationChain::EMPTY)
end