123456789_123456789_123456789_123456789_123456789_

Class: RuboCop::Server::ClientCommand::Status Private

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Base
Instance Chain:
self, Base
Inherits: RuboCop::Server::ClientCommand::Base
Defined in: lib/rubocop/server/client_command/status.rb

Overview

This class is a client command to show server process status.

Instance Method Summary

Base - Inherited

Instance Method Details

#run

[ GitHub ]

  
# 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