Class: RuboCop::Server::ClientCommand::Status Private
- Defined in:
- lib/rubocop/server/client_command/status.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 show server process status.
Instance Method Summary collapse
- #run ⇒ Object private
Instance Method Details
#run ⇒ Object
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 22 23 24 |
# File 'lib/rubocop/server/client_command/status.rb', line 18 def run if Server.running? puts "RuboCop server (#{Cache.pid_path.read}) is running." else puts 'RuboCop server is not running.' end end |