Module Rake::TaskManager
In: lib/rake.rb

The TaskManager module is a mixin for managing tasks.

Methods

External Aliases

last_description -> last_comment

Attributes

last_description  [RW]  Track the last comment made in the Rakefile.

Public Class methods

Public Instance methods

Find a matching task for task_name.

Clear all tasks in this application.

Return the list of scope names currently active in the task manager.

If a rule can be found that matches the task name, enhance the task with the prerequisites and actions from the rule. Set the source attribute of the task appropriately for the rule. Return the enhanced task or nil of no rule was found.

Evaluate the block in a nested namespace named name. Create an anonymous namespace if name is nil.

Lookup a task. Return an existing task if found, otherwise create a task of the current type.

Lookup a task, using scope and the scope hints in the task name. This method performs straight lookups without trying to synthesize file tasks or rules. Special scope names (e.g. ’^’) are recognized. If no scope argument is supplied, use the current scope. Return nil if the task cannot be found.

Resolve the arguments for a task/rule. Returns a triplet of [task_name, arg_name_list, prerequisites].

List of all defined tasks in this application.

List of all the tasks defined in the given scope (and its sub-scopes).

[Validate]