search for: understandinggenerators

Displaying 2 results from an estimated 2 matches for "understandinggenerators".

2006 Mar 21
0
Passing named command arguments to a generator
...lot of little tasks. Does anyone know how to pass, recieve, and then use named arguments to a generator? I''ve been looking at this argument, but I''m not clear on what''s possible. Is it solely based on the order of the arguments? http://wiki.rubyonrails.org/rails/pages/UnderstandingGenerators For example, I''d like to pass in an argument with a particular value (controller=xxx) for example, but allow that argument to appear anywhere in the list. If anyone has any of their own example generators, I''d love to see them... Thanks, Eric -------------- next part ---------...
2006 Jan 06
8
How do I write a generator?
I''d like to take some advice and write a generator to change the scaffold.css. How do I do that? I looked on the wiki and googled it but have not found anything yet. Any help would be much appreciated. bruce