private Method

RakeFileUtils.rake_merge_option(args, defaults)

Merge the given options with the default values.

Source Code

# File rake.rb, line 1056
def rake_merge_option(args, defaults)
  if Hash === args.last
    defaults.update(args.last)
    args.pop
  end
  args.push defaults
  args
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.