Class: Textbringer::LSP::ServerConfig
- Inherits:
-
Object
- Object
- Textbringer::LSP::ServerConfig
- Defined in:
- lib/textbringer/lsp/server_registry.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#file_patterns ⇒ Object
readonly
Returns the value of attribute file_patterns.
-
#interpreter_patterns ⇒ Object
readonly
Returns the value of attribute interpreter_patterns.
-
#language_id ⇒ Object
readonly
Returns the value of attribute language_id.
-
#mode ⇒ Object
readonly
Returns the value of attribute mode.
Instance Method Summary collapse
-
#initialize(language_id:, command:, args:, file_patterns:, interpreter_patterns:, mode:) ⇒ ServerConfig
constructor
A new instance of ServerConfig.
Constructor Details
#initialize(language_id:, command:, args:, file_patterns:, interpreter_patterns:, mode:) ⇒ ServerConfig
128 129 130 131 132 133 134 135 |
# File 'lib/textbringer/lsp/server_registry.rb', line 128 def initialize(language_id:, command:, args:, file_patterns:, interpreter_patterns:, mode:) @language_id = language_id @command = command @args = args @file_patterns = file_patterns @interpreter_patterns = interpreter_patterns @mode = mode end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
126 127 128 |
# File 'lib/textbringer/lsp/server_registry.rb', line 126 def args @args end |
#command ⇒ Object (readonly)
Returns the value of attribute command.
126 127 128 |
# File 'lib/textbringer/lsp/server_registry.rb', line 126 def command @command end |
#file_patterns ⇒ Object (readonly)
Returns the value of attribute file_patterns.
126 127 128 |
# File 'lib/textbringer/lsp/server_registry.rb', line 126 def file_patterns @file_patterns end |
#interpreter_patterns ⇒ Object (readonly)
Returns the value of attribute interpreter_patterns.
126 127 128 |
# File 'lib/textbringer/lsp/server_registry.rb', line 126 def interpreter_patterns @interpreter_patterns end |
#language_id ⇒ Object (readonly)
Returns the value of attribute language_id.
126 127 128 |
# File 'lib/textbringer/lsp/server_registry.rb', line 126 def language_id @language_id end |
#mode ⇒ Object (readonly)
Returns the value of attribute mode.
126 127 128 |
# File 'lib/textbringer/lsp/server_registry.rb', line 126 def mode @mode end |