Class: LazyRails::PromptGenerators::SelectJs
- 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
33 34 35 36 37 38 39 |
# File 'lib/lazy_rails/prompt_generators.rb', line 33 def call prompt.select( "Choose your JavaScript approach:", %w[importmap esbuild bun rollup webpack], show_help: :always ) end |