Class: GitContext::Commands::DeleteProfile
- Defined in:
- lib/git_context/commands/delete_profile.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from GitContext::Commands::Base
Instance Method Details
#call ⇒ Object
6 7 8 9 10 |
# File 'lib/git_context/commands/delete_profile.rb', line 6 def call stored_profiles = @configuration.list_profile_names to_be_deleted = @interaction.prompt_delete_profile(stored_profiles) @configuration.delete_profile(to_be_deleted) end |