Passing named command arguments to a generator

Hi folks,

I’ve been looking at how to create generators for a 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
possible. Is it solely based on the order of the arguments?

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
the list. If anyone has any of their own example generators, I’d love
see them… Thanks,


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs