Class: LSP::DidChangeWatchedFilesParams
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface DidChangeWatchedFilesParams { /** * The actual file events. */ changes: FileEvent; }
Instance Attribute Summary collapse
-
#changes ⇒ Object
type: FileEvent.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#changes ⇒ Object
type: FileEvent
719 720 721 |
# File 'lib/lsp/lsp_protocol.rb', line 719 def changes @changes end |
Instance Method Details
#from_h!(value) ⇒ Object
721 722 723 724 725 |
# File 'lib/lsp/lsp_protocol.rb', line 721 def from_h!(value) value = {} if value.nil? self.changes = to_typed_aray(value['changes'], FileEvent) self end |