Sha256: fe0bc301b27d9ceb5a4b070c848f0459d0a5f6cb78972829279c086b05600594
Contents?: true
Size: 742 Bytes
Versions: 104
Compression:
Stored size: 742 Bytes
Contents
module LanguageServer module Protocol module Interface # # A partial result for a document diagnostic report. # class DocumentDiagnosticReportPartialResult def initialize(related_documents:) @attributes = {} @attributes[:relatedDocuments] = related_documents @attributes.freeze end # @return [{ [uri: string]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport; }] def related_documents attributes.fetch(:relatedDocuments) 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
104 entries across 104 versions & 13 rubygems