Permalink
Browse files

Added support for parameters to Multitask

  • Loading branch information...
1 parent 851f44b commit d677dac44beb42271a52b741c65785b565067b77 @michaeljbishop michaeljbishop committed Aug 31, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rake/dsl_definition.rb
@@ -78,8 +78,8 @@ def directory(dir)
# Example:
# multitask :deploy => [:deploy_gem, :deploy_rdoc]
#
- def multitask(args, &block)
- Rake::MultiTask.define_task(args, &block)
+ def multitask(*args, &block)
+ Rake::MultiTask.define_task(*args, &block)
end
# Create a new rake namespace and use it for evaluating the given

0 comments on commit d677dac

Please sign in to comment.