Class: LSP::HoverOptions
Overview
export interface HoverOptions extends WorkDoneProgressOptions { }
Instance Attribute Summary collapse
-
#workDoneProgress ⇒ Object
type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ HoverOptions
constructor
A new instance of HoverOptions.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ HoverOptions
Returns a new instance of HoverOptions.
1176 1177 1178 1179 |
# File 'lib/lsp/lsp_protocol.rb', line 1176 def initialize(initial_hash = nil) super @optional_method_names = %i[workDoneProgress] end |
Instance Attribute Details
#workDoneProgress ⇒ Object
type: boolean
1174 1175 1176 |
# File 'lib/lsp/lsp_protocol.rb', line 1174 def workDoneProgress @workDoneProgress end |
Instance Method Details
#from_h!(value) ⇒ Object
1181 1182 1183 1184 1185 |
# File 'lib/lsp/lsp_protocol.rb', line 1181 def from_h!(value) value = {} if value.nil? self.workDoneProgress = value['workDoneProgress'] # Unknown type self end |