Class: LSP::RegistrationParams
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface RegistrationParams
registrations: Registration[];
Instance Attribute Summary collapse
-
#registrations ⇒ Object
type: Registration[].
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#registrations ⇒ Object
type: Registration[]
47 48 49 |
# File 'lib/lsp/lsp_protocol.rb', line 47 def registrations @registrations end |
Instance Method Details
#from_h!(value) ⇒ Object
49 50 51 52 53 |
# File 'lib/lsp/lsp_protocol.rb', line 49 def from_h!(value) value = {} if value.nil? self.registrations = to_typed_aray(value['registrations'], Registration) self end |