[Rant] Internals question: when to use @rac vs. explicit rant_gen

Kevin Burge kevin.burge at systemware.com
Thu Dec 22 14:22:35 EST 2005

Hi Stefan,

I've noticed that I can do (in a generator):

::Rant::Generators::Task.rant_gen(@rac, @ch, ['setup'])


@rac.cx.task 'setup'

The former is a lot more complicated.  Is there a reason that I'd want 
to do the former over the latter?  Is it because it generates a new app 
as you indicated in the previous post?

I also noticed that I can do:


or just


Which is the preferred method in a custom generator?  Why?



Please visit http://www.systemware.com/.

More information about the make-cafe mailing list