Class: LSP::DefinitionOptions
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface DefinitionOptions extends WorkDoneProgressOptions { }
Instance Attribute Summary collapse
-
#workDoneProgress ⇒ Object
type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ DefinitionOptions
constructor
A new instance of DefinitionOptions.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ DefinitionOptions
Returns a new instance of DefinitionOptions.
1455 1456 1457 1458 |
# File 'lib/lsp/lsp_protocol.rb', line 1455 def initialize(initial_hash = nil) super @optional_method_names = %i[workDoneProgress] end |
Instance Attribute Details
#workDoneProgress ⇒ Object
type: boolean
1453 1454 1455 |
# File 'lib/lsp/lsp_protocol.rb', line 1453 def workDoneProgress @workDoneProgress end |
Instance Method Details
#from_h!(value) ⇒ Object
1460 1461 1462 1463 1464 |
# File 'lib/lsp/lsp_protocol.rb', line 1460 def from_h!(value) value = {} if value.nil? self.workDoneProgress = value['workDoneProgress'] # Unknown type self end |