Class: RuboCop::CLI::Command::LSP Private
- 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
Instance Method Summary collapse
- #run ⇒ Object private
Methods inherited from Base
by_command_name, inherited, #initialize
Constructor Details
This class inherits a constructor from RuboCop::CLI::Command::Base
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.
11 12 13 14 15 |
# File 'lib/rubocop/cli/command/lsp.rb', line 11 def run # Load on demand, `languge-server-protocol` is heavy to require. require_relative '../../lsp/server' RuboCop::LSP::Server.new(@config_store).start end |