Sha256: c090b771bca2571786ff3daa7b4408f7a125446f6b5c572cb370d85770bd53fa
Contents?: true
Size: 724 Bytes
Versions: 2
Compression:
Stored size: 724 Bytes
Contents
module LanguageServer module Protocol module Interface class TextDocumentRegistrationOptions def initialize(document_selector:) @attributes = {} @attributes[:documentSelector] = document_selector @attributes.freeze end # # A document selector to identify the scope of the registration. If set to null # the document selector provided on the client side will be used. # # @return [DocumentFilter[]] def document_selector attributes.fetch(:documentSelector) end attr_reader :attributes def to_json(*args) attributes.to_json(*args) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems