public Method

TaskArguments.new_scope(names)

Create a new argument scope using the prerequisite argument names.

Source Code

# File rake.rb, line 300
def new_scope(names)
  values = names.collect { |n| self[n] }
  self.class.new(names, values, self)
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.