Sha256: a5fb18e6b9ad515dc95b0ba1171d96a23d260f1698f1d6c623b90db3456c7c31
Contents?: true
Size: 914 Bytes
Versions: 107
Compression:
Stored size: 914 Bytes
Contents
module LanguageServer module Protocol module Interface class MonikerClientCapabilities def initialize(dynamic_registration: nil) @attributes = {} @attributes[:dynamicRegistration] = dynamic_registration if dynamic_registration @attributes.freeze end # # Whether 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
107 entries across 107 versions & 13 rubygems