Class: LSP::UnregistrationParams

Inherits:
LSPBase
  • Object
show all
Defined in:
lib/lsp/lsp_protocol.rb

Overview

export interface UnregistrationParams

unregisterations: Unregistration[];

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from LSPBase

#initialize, #to_h, #to_json

Constructor Details

This class inherits a constructor from LSP::LSPBase

Instance Attribute Details

#unregisterationsObject

type: Unregistration[]



82
83
84
# File 'lib/lsp/lsp_protocol.rb', line 82

def unregisterations
  @unregisterations
end

Instance Method Details

#from_h!(value) ⇒ Object



84
85
86
87
88
# File 'lib/lsp/lsp_protocol.rb', line 84

def from_h!(value)
  value = {} if value.nil?
  self.unregisterations = to_typed_aray(value['unregisterations'], Unregistration)
  self
end