Forum: Ruby on Rails generator with prompted user input?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jonathan R. (Guest)
on 2008-11-20 02:29
Is there any good way to have a generator prompt for user input (with a
default) as part of it's processing?  Sort of like when there's a
conflict, and you haven't set an argument other than 'ask', it asks you
whether to overwrite the file.

Can I provide my own user input prompts for my own purposes?

Thanks for any help,
Jonathan
This topic is locked and can not be replied to.