Class: LSP::ConfigurationClientCapabilities
- Defined in:
- lib/lsp/lsp_protocol_configuration.rb
Overview
export interface ConfigurationClientCapabilities {
/**
* The workspace client capabilities
*/
workspace?: {
/**
* The client supports `workspace/configuration` requests.
*/
configuration?: boolean;
};
}
Instance Attribute Summary collapse
-
#workspace ⇒ Object
type: {.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ ConfigurationClientCapabilities
constructor
/** * The client supports ‘workspace/configuration` requests.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ ConfigurationClientCapabilities
/**
* The client supports `workspace/configuration` requests.
*/
configuration?: boolean;
}
29 30 31 32 |
# File 'lib/lsp/lsp_protocol_configuration.rb', line 29 def initialize(initial_hash = nil) super @optional_method_names = %i[workspace] end |
Instance Attribute Details
#workspace ⇒ Object
type: {
21 22 23 |
# File 'lib/lsp/lsp_protocol_configuration.rb', line 21 def workspace @workspace end |
Instance Method Details
#from_h!(value) ⇒ Object
34 35 36 37 38 |
# File 'lib/lsp/lsp_protocol_configuration.rb', line 34 def from_h!(value) value = {} if value.nil? self.workspace = value['workspace'] # Unknown type self end |