Rake::NameSpace < ObjectThe NameSpace class will lookup task names in the scope defined by a namespace command.
| 🧩 Use Case | ⚙️ Command | 📝 Description |
|---|---|---|
| 🔍 Look up a task by name | namespace['task_name'] | Find a task within the namespace scope |
| 📍 Get the scope of the namespace | namespace.scope | Returns the scope path for the namespace |
| 📋 List all tasks in namespace | namespace.tasks | Returns all tasks defined within the namespace |
| 🆕 Create a new namespace | Rake::NameSpace.new(task_scope, source_set) | Initialize a new namespace with given scope and task set |
new — Initialize a new NameSpace instance[](task_name) — Look up a task by name within the namespace scopescope — Return the scope object representing the namespace pathtasks — Return the list of tasks defined in this namespaceGenerated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-28 22:40 @216.73.217.46
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format