Class: LSP::DidChangeWorkspaceFoldersParams

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

Overview

export interface DidChangeWorkspaceFoldersParams

/**
 * The actual workspace folder change event.
 */
event: WorkspaceFoldersChangeEvent;

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

#eventObject

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