module Rake::TaskManager

def intern(task_class, task_name)

create a task of the current type.
Lookup a task. Return an existing task if found, otherwise
def intern(task_class, task_name)
  @tasks[task_name.to_s] ||= task_class.new(task_name, self)
end