On Jan 3, 2008, at 2:53 AM, Assaf Arkin wrote:

> task('foo').prerequisites.clear

Ha!  Clever!

I was going to suggest Rake::Task['foo'].prerequisites.clear, but  
then realized that although the task method's main purpose is to  
create and enhance tasks, it also returns the task object.  So task 
('foo').prerequisites is perfectly valid.

Good job!

-- 
-- Jim Weirich
-- [EMAIL PROTECTED]




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

Reply via email to