class Rake::NameSpace


defined by a namespace command.
The NameSpace class will lookup task names in the the scope

def [](name)

Lookup a task named +name+ in the namespace.
def [](name)
  @task_manager.lookup(name, @scope)
end

def initialize(task_manager, scope_list)

and the list of scopes.
Create a namespace lookup object using the given task manager
def initialize(task_manager, scope_list)
  @task_manager = task_manager
  @scope = scope_list.dup
end

def tasks

Return the list of tasks defined in this and nested namespaces.
def tasks
  @task_manager.tasks_in_scope(@scope)
end