Class: LSP::ReferenceOptions
Overview
export interface ReferenceOptions extends WorkDoneProgressOptions { }
Instance Attribute Summary collapse
-
#workDoneProgress ⇒ Object
type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ ReferenceOptions
constructor
A new instance of ReferenceOptions.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ ReferenceOptions
Returns a new instance of ReferenceOptions.
1553 1554 1555 1556 |
# File 'lib/lsp/lsp_protocol.rb', line 1553 def initialize(initial_hash = nil) super @optional_method_names = i[workDoneProgress] end |
Instance Attribute Details
#workDoneProgress ⇒ Object
type: boolean
1551 1552 1553 |
# File 'lib/lsp/lsp_protocol.rb', line 1551 def workDoneProgress @workDoneProgress end |
Instance Method Details
#from_h!(value) ⇒ Object
1558 1559 1560 1561 1562 |
# File 'lib/lsp/lsp_protocol.rb', line 1558 def from_h!(value) value = {} if value.nil? self.workDoneProgress = value['workDoneProgress'] # Unknown type self end |