Class: LSP::DocumentRangeFormattingOptions
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface DocumentRangeFormattingOptions extends WorkDoneProgressOptions { }
Instance Attribute Summary collapse
-
#workDoneProgress ⇒ Object
type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ DocumentRangeFormattingOptions
constructor
A new instance of DocumentRangeFormattingOptions.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ DocumentRangeFormattingOptions
Returns a new instance of DocumentRangeFormattingOptions.
2341 2342 2343 2344 |
# File 'lib/lsp/lsp_protocol.rb', line 2341 def initialize(initial_hash = nil) super @optional_method_names = i[workDoneProgress] end |
Instance Attribute Details
#workDoneProgress ⇒ Object
type: boolean
2339 2340 2341 |
# File 'lib/lsp/lsp_protocol.rb', line 2339 def workDoneProgress @workDoneProgress end |
Instance Method Details
#from_h!(value) ⇒ Object
2346 2347 2348 2349 2350 |
# File 'lib/lsp/lsp_protocol.rb', line 2346 def from_h!(value) value = {} if value.nil? self.workDoneProgress = value['workDoneProgress'] # Unknown type self end |