tasks_in_scope(scope)
List of all the tasks defined in the given scope (and its sub-scopes).
# File lib/rake/task_manager.rb, line 149 def tasks_in_scope(scope) prefix = scope.join(":") tasks.select { |t| /^#{prefix}:/ =~ t.name } end