Class: LSP::WorkspaceFoldersInitializeParams

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

Overview

export interface WorkspaceFoldersInitializeParams

/**
 * The actual configured workspace folders.
 */
workspaceFolders: WorkspaceFolder[] | null;

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

#workspaceFoldersObject

type: WorkspaceFolder[] | null



16
17
18
# File 'lib/lsp/lsp_protocol_workspacefolders.rb', line 16

def workspaceFolders
  @workspaceFolders
end

Instance Method Details

#from_h!(value) ⇒ Object



18
19
20
21
22
# File 'lib/lsp/lsp_protocol_workspacefolders.rb', line 18

def from_h!(value)
  value = {} if value.nil?
  self.workspaceFolders = value['workspaceFolders'] # Unknown type
  self
end