Class: SecretsCli::Prompts::SecretsFile
- Inherits:
-
Object
- Object
- SecretsCli::Prompts::SecretsFile
- Includes:
- Helpers
- Defined in:
- lib/secrets_cli/prompts/secrets_file.rb
Instance Method Summary collapse
Methods included from Helpers
#config, #error, #error!, #pastel, #print_verbose, #prompt
Instance Method Details
#call ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/secrets_cli/prompts/secrets_file.rb', line 6 def call case choice when 1 then 'config/application.yml' when 2 then '.env' when 3 then prompt.ask('What secrets file are you using?', required: true) end end |