Sha256: 09290055347c72fcb70aa6098eb97392791c594529493899b0771816681cb1b9
Contents?: true
Size: 637 Bytes
Versions: 106
Compression:
Stored size: 637 Bytes
Contents
module LanguageServer module Protocol module Interface # # A partial result for a workspace diagnostic report. # class WorkspaceDiagnosticReportPartialResult def initialize(items:) @attributes = {} @attributes[:items] = items @attributes.freeze end # @return [WorkspaceDocumentDiagnosticReport[]] def items attributes.fetch(:items) 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
106 entries across 106 versions & 15 rubygems