Sha256: 5695defb214a437ffa60ac234f2514102bf259f837e3deb16312ab455072b516
Contents?: true
Size: 718 Bytes
Versions: 111
Compression:
Stored size: 718 Bytes
Contents
module LanguageServer module Protocol module Interface # # Describe options to be used when registering for file system change events. # class DidChangeWatchedFilesRegistrationOptions def initialize(watchers:) @attributes = {} @attributes[:watchers] = watchers @attributes.freeze end # # The watchers to register. # # @return [FileSystemWatcher[]] def watchers attributes.fetch(:watchers) end attr_reader :attributes def to_hash attributes end def to_json(*args) to_hash.to_json(*args) end end end end end
Version data entries
111 entries across 111 versions & 13 rubygems