static public Method

Task.scope_name(scope, task_name)

Apply the scope to the task name according to the rules for this kind of task. Generic tasks will accept the scope as part of the name.

Source Code

# File rake.rb, line 662
def scope_name(scope, task_name)
  (scope + [task_name]).join(':')
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.