Hi,
Could anyone point me to how to write a generator in Ruby?
I was going through code in ruby files at
\rails-1.1.2\lib\rails_generatorand found that it reads gems
specification to look for generator s present
on the system.
The way there are tutorials on how to create plugins for Rails, are
there
any for Generators?
At the end of it I should be able to do something like this
ruby script/generate <my_generator> arguments
Appreciate help.
Regards,
Jatinder