Object
The NameSpace class will lookup task names in the the scope defined by a namespace command.
Create a namespace lookup object using the given task manager and the list of scopes.
# File lib/rake.rb, line 1665 1665: def initialize(task_manager, scope_list) 1666: @task_manager = task_manager 1667: @scope = scope_list.dup 1668: end
Lookup a task named name in the namespace.
# File lib/rake.rb, line 1671 1671: def [](name) 1672: @task_manager.lookup(name, @scope) 1673: end
Return the list of tasks defined in this and nested namespaces.
# File lib/rake.rb, line 1676 1676: def tasks 1677: @task_manager.tasks_in_scope(@scope) 1678: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.