Class: LSP::ConfigurationParams
- Defined in:
- lib/lsp/lsp_protocol_configuration.rb
Overview
export interface ConfigurationParams
items: ConfigurationItem[];
Instance Attribute Summary collapse
-
#items ⇒ Object
type: ConfigurationItem[].
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#items ⇒ Object
type: ConfigurationItem[]
71 72 73 |
# File 'lib/lsp/lsp_protocol_configuration.rb', line 71 def items @items end |
Instance Method Details
#from_h!(value) ⇒ Object
73 74 75 76 77 |
# File 'lib/lsp/lsp_protocol_configuration.rb', line 73 def from_h!(value) value = {} if value.nil? self.items = to_typed_aray(value['items'], ConfigurationItem) self end |