Class: Senren::Command::AddCommand
- Inherits:
-
Rails::Command::Base
- Object
- Rails::Command::Base
- Senren::Command::AddCommand
- Defined in:
- lib/commands/senren/add/add_command.rb
Instance Method Summary collapse
Instance Method Details
#perform(*names) ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/commands/senren/add/add_command.rb', line 16 def perform(*names) require_application! component_installer.install( names: names, client_override: [:client], force: [:force] ) rescue ArgumentError => e raise ::Rails::Command::Base::Error, e. end |