This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
lookup_in_scope(name, scope)
private
Lookup the task name
# File lib/rake/task_manager.rb, line 185
def lookup_in_scope(name, scope)
loop do
tn = scope.path_with_task_name(name)
task = @tasks[tn]
return task if task
break if scope.empty?
scope = scope.tail
end
nil
end