Sha256: 8b9d4facd23767b8a49a9864f0a502c30e76ddf07b1c7cb6c19b269a51a79884
Contents?: true
Size: 561 Bytes
Versions: 117
Compression:
Stored size: 561 Bytes
Contents
module LanguageServer module Protocol module Interface class TextDocumentIdentifier def initialize(uri:) @attributes = {} @attributes[:uri] = uri @attributes.freeze end # # The text document's URI. # # @return [string] def uri attributes.fetch(:uri) 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
117 entries across 117 versions & 13 rubygems