Class: RuboCop::CLI::Command::Lsp Private

Inherits:
Base
  • Object
show all
Defined in:
lib/rubocop/cli/command/lsp.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.

Start Language Server Protocol of RuboCop.

Instance Attribute Summary

Attributes inherited from Base

#env

Instance Method Summary collapse

Methods inherited from Base

by_command_name, inherited, #initialize

Constructor Details

This class inherits a constructor from RuboCop::CLI::Command::Base

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.



13
14
15
# File 'lib/rubocop/cli/command/lsp.rb', line 13

def run
  RuboCop::Lsp::Server.new(@config_store).start
end