class LanguageServer::Protocol::Interface::DocumentDiagnosticReportPartialResult
A partial result for a document diagnostic report.
Attributes
attributes[R]
Public Class Methods
new(related_documents:)
click to toggle source
# File lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb, line 8 def initialize(related_documents:) @attributes = {} @attributes[:relatedDocuments] = related_documents @attributes.freeze end
Public Instance Methods
to_hash()
click to toggle source
# File lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb, line 23 def to_hash attributes end
to_json(*args)
click to toggle source
# File lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb, line 27 def to_json(*args) to_hash.to_json(*args) end