Class: Swappy::Commands::List

Inherits:
Command
  • Object
show all
Defined in:
lib/swappy/commands/list.rb

Instance Attribute Summary

Attributes inherited from Command

#app_config_path, #options

Instance Method Summary collapse

Methods inherited from Command

#initialize

Constructor Details

This class inherits a constructor from Swappy::Commands::Command

Instance Method Details

#callObject



4
5
6
7
8
# File 'lib/swappy/commands/list.rb', line 4

def call
  app_config.map do |config_set|
    config_set.name
  end
end