Sha256: a02ce2f17207d68ded79f5f9f245f314b29dcd0840178ba95097d78d45a3ff60
Contents?: true
Size: 929 Bytes
Versions: 101
Compression:
Stored size: 929 Bytes
Contents
module LanguageServer module Protocol module Interface class LinkedEditingRangeClientCapabilities def initialize(dynamic_registration: nil) @attributes = {} @attributes[:dynamicRegistration] = dynamic_registration if dynamic_registration @attributes.freeze end # # Whether the implementation supports dynamic registration. # If this is set to `true` the client supports the new # `(TextDocumentRegistrationOptions & StaticRegistrationOptions)` # return value for the corresponding server capability as well. # # @return [boolean] def dynamic_registration attributes.fetch(:dynamicRegistration) 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
101 entries across 101 versions & 13 rubygems