Class: LSP::FoldingRangeRegistrationOptions

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

Overview

export interface FoldingRangeRegistrationOptions extends TextDocumentRegistrationOptions, FoldingRangeOptions, StaticRegistrationOptions { }

Instance Method Summary collapse

Methods inherited from LSPBase

#initialize, #to_h, #to_json

Constructor Details

This class inherits a constructor from LSP::LSPBase

Instance Method Details

#from_h!(value) ⇒ Object



60
61
62
63
# File 'lib/lsp/lsp_protocol_foldingrange.rb', line 60

def from_h!(value)
  value = {} if value.nil?
  self
end