Class: RuboCop::Server::ClientCommand::Restart Private

Inherits:
Base
  • Object
show all
Defined in:
lib/rubocop/server/client_command/restart.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

This class is a client command to restart server process.

Instance Method Summary collapse

Instance Method Details

#runObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



18
19
20
21
# File 'lib/rubocop/server/client_command/restart.rb', line 18

def run
  ClientCommand::Stop.new.run
  ClientCommand::Start.new.run
end