Class: LazyRails::PromptGenerators::SelectDb
- Defined in:
- lib/lazy_rails/prompt_generators.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from LazyRails::PromptGenerators::Base
Instance Method Details
#call ⇒ Object
22 23 24 25 26 27 28 29 |
# File 'lib/lazy_rails/prompt_generators.rb', line 22 def call prompt.select("Choose your database:", show_help: :always) do || .choice "SQLite(default)", "sqlite3" .choice "MySQL", "mysql" .choice "Trilogy", "trilogy" .choice "PostgreSQL", "postgresql" end end |