Class: LSP::DidChangeWorkspaceFoldersParams
- Defined in:
- lib/lsp/lsp_protocol_workspacefolders.rb
Overview
export interface DidChangeWorkspaceFoldersParams
/**
* The actual workspace folder change event.
*/
event: WorkspaceFoldersChangeEvent;
Instance Attribute Summary collapse
-
#event ⇒ Object
type: WorkspaceFoldersChangeEvent.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#event ⇒ Object
type: WorkspaceFoldersChangeEvent
142 143 144 |
# File 'lib/lsp/lsp_protocol_workspacefolders.rb', line 142 def event @event end |
Instance Method Details
#from_h!(value) ⇒ Object
144 145 146 147 148 |
# File 'lib/lsp/lsp_protocol_workspacefolders.rb', line 144 def from_h!(value) value = {} if value.nil? self.event = WorkspaceFoldersChangeEvent.new(value['event']) unless value['event'].nil? self end |