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

Methods
Public Class methods
new(task_manager, scope_list)

Create a namespace lookup object using the given task manager and the list of scopes.

      # File lib/rake.rb, line 1642
1642:     def initialize(task_manager, scope_list)
1643:       @task_manager = task_manager
1644:       @scope = scope_list.dup
1645:     end
Public Instance methods
[](name)

Lookup a task named name in the namespace.

      # File lib/rake.rb, line 1648
1648:     def [](name)
1649:       @task_manager.lookup(name, @scope)
1650:     end
tasks()

Return the list of tasks defined in this and nested namespaces.

      # File lib/rake.rb, line 1653
1653:     def tasks
1654:       @task_manager.tasks_in_scope(@scope)
1655:     end