[Rake-devel] minor issue with task invoke

Ittay Dror ittay.dror at gmail.com
Wed Nov 5 01:35:13 EST 2008


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 <ittay.dror at gmail.com>




More information about the Rake-devel mailing list