Subject: Re: Running a Rake task without prereqs
From: Robert James <srobertjames gmail.com>
Date: Wed, 3 Jan 2007 11:21:22 +0900
References: 232244232248
In-reply-to: 232248
I mean preexisting tasks in Rakefiles.
Trans wrote:
> Probably:
>
> task :without do
> meth()
> end
>
> task :with => [ preq ] do
> meth()
> end
>
> def meth
> # orig. task code
> end
--
Posted via http://www.ruby-forum.com/.