Class: LSP::DidChangeConfigurationClientCapabilities
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface DidChangeConfigurationClientCapabilities
/**
* Did change configuration notification supports dynamic registration.
*/
dynamicRegistration?: boolean;
Instance Attribute Summary collapse
-
#dynamicRegistration ⇒ Object
type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ DidChangeConfigurationClientCapabilities
constructor
A new instance of DidChangeConfigurationClientCapabilities.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ DidChangeConfigurationClientCapabilities
Returns a new instance of DidChangeConfigurationClientCapabilities.
322 323 324 325 |
# File 'lib/lsp/lsp_protocol.rb', line 322 def initialize(initial_hash = nil) super @optional_method_names = %i[dynamicRegistration] end |
Instance Attribute Details
#dynamicRegistration ⇒ Object
type: boolean
320 321 322 |
# File 'lib/lsp/lsp_protocol.rb', line 320 def dynamicRegistration @dynamicRegistration end |
Instance Method Details
#from_h!(value) ⇒ Object
327 328 329 330 331 |
# File 'lib/lsp/lsp_protocol.rb', line 327 def from_h!(value) value = {} if value.nil? self.dynamicRegistration = value['dynamicRegistration'] # Unknown type self end |