add_location(task)
Add a location to the locations field of the given task.
# File lib/rake/task_manager.rb, line 218 def add_location(task) loc = find_location task.locations << loc if loc task end