Sha256: 50d93dacb25c4e2aef4cfaa85c83da611a661583a3c7a831c83b553c11a84300
Contents?: true
Size: 582 Bytes
Versions: 1
Compression:
Stored size: 582 Bytes
Contents
module LanguageServer module Protocol module Interface class VersionedTextDocumentIdentifier < TextDocumentIdentifier def initialize(uri:, version:) @attributes = {} @attributes[:version] = version @attributes.freeze end # # The version number of this document. # # @return [number] def version attributes.fetch(:version) end attr_reader :attributes def to_json(*args) attributes.to_json(*args) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
language_server-protocol-0.4.0 | lib/language_server/protocol/interface/versioned_text_document_identifier.rb |