Class: LSP::DidChangeWatchedFilesRegistrationOptions
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface DidChangeWatchedFilesRegistrationOptions
/**
* The watchers to register.
*/
watchers: FileSystemWatcher[];
Instance Attribute Summary collapse
-
#watchers ⇒ Object
type: FileSystemWatcher[].
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#watchers ⇒ Object
type: FileSystemWatcher[]
756 757 758 |
# File 'lib/lsp/lsp_protocol.rb', line 756 def watchers @watchers end |
Instance Method Details
#from_h!(value) ⇒ Object
758 759 760 761 762 |
# File 'lib/lsp/lsp_protocol.rb', line 758 def from_h!(value) value = {} if value.nil? self.watchers = to_typed_aray(value['watchers'], FileSystemWatcher) self end |