Class: RuboCop::Daemon::ClientCommand::Stop

Inherits:
Base
  • Object
show all
Defined in:
lib/rubocop/daemon/client_command/stop.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from RuboCop::Daemon::ClientCommand::Base

Instance Method Details

#runObject



7
8
9
10
11
# File 'lib/rubocop/daemon/client_command/stop.rb', line 7

def run
  parser.parse(@argv)
  check_running_server!
  send_request(command: 'stop')
end