Class: GemDandy::Configuration
- Includes:
- ConfigFile, Output
- Defined in:
- lib/gem_dandy/configuration.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods included from Output
Methods included from ConfigFile
#api_keys, #config_file_name, #find_api_key, #gemdandy_rc_file
Methods inherited from Command
Constructor Details
This class inherits a constructor from GemDandy::Command
Instance Method Details
#perform_action ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/gem_dandy/configuration.rb', line 6 def perform_action if [:clear_given] clear_config else add_to_config( [:profile], [:key] ) confirm_add_to_config_success end end |