in Task#execute, this code:

@actions.each do |act|
       case act.arity
       when 1

         act.call(self)
       else
         act.call(self, args)
       end


means that if i define a task:

task 'foo' {puts 'blah'}


then the task is called with arguments, when, for consistency it should be called with none.


ittay


--
--
Ittay Dror <[EMAIL PROTECTED]>


_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel

Reply via email to