Skip to content

Commit

Permalink
Added support for parameters to Multitask
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljbishop committed Aug 31, 2012
1 parent 851f44b commit d677dac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rake/dsl_definition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d677dac

Please sign in to comment.