Class: LazyRails::PromptGenerators::SelectTools

Inherits:
Base
  • Object
show all
Defined in:
lib/lazy_rails/prompt_generators.rb

Instance Attribute Summary

Attributes inherited from Base

#prompt

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from LazyRails::PromptGenerators::Base

Instance Method Details

#callObject



64
65
66
67
68
69
70
71
# File 'lib/lazy_rails/prompt_generators.rb', line 64

def call
  prompt.multi_select("SKIP RAILS DEFAULTS:", show_help: :always) do |menu|
    menu.choice "jbuilder"
    menu.choice "minitest"
    menu.choice "rubocop"
    menu.choice "brakeman"
  end
end