class RuboCop::Server::ServerCommand::Base
@api private
Abstract base class for server command.
def self.inherited(child)
def self.inherited(child) super child.prepend Runner end
def initialize(args, token: '', cwd: Dir.pwd)
def initialize(args, token: '', cwd: Dir.pwd) @args = args @token = token @cwd = cwd end
def run; end
def run; end
def validate_token!
def validate_token! raise InvalidTokenError unless Cache.token_path.read == @token end