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 1666
1666:     def initialize(task_manager, scope_list)
1667:       @task_manager = task_manager
1668:       @scope = scope_list.dup
1669:     end
Public Instance methods
[](name)

Lookup a task named name in the namespace.

      # File lib/rake.rb, line 1672
1672:     def [](name)
1673:       @task_manager.lookup(name, @scope)
1674:     end
tasks()

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

      # File lib/rake.rb, line 1677
1677:     def tasks
1678:       @task_manager.tasks_in_scope(@scope)
1679:     end