Class: GitContext::Commands::ListProfile

Inherits:
Base
  • Object
show all
Defined in:
lib/git_context/commands/list_profile.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from GitContext::Commands::Base

Instance Method Details

#callObject



6
7
8
9
10
# File 'lib/git_context/commands/list_profile.rb', line 6

def call
  stored_profiles = @configuration.list_profile_names

  @interaction.show(stored_profiles.join("\n"))
end