class LanguageServer::Protocol::Interface::WorkspaceDiagnosticReport
A workspace diagnostic report.
Attributes
attributes[R]
Public Class Methods
new(items:)
click to toggle source
# File lib/language_server/protocol/interface/workspace_diagnostic_report.rb, line 8 def initialize(items:) @attributes = {} @attributes[:items] = items @attributes.freeze end
Public Instance Methods
items()
click to toggle source
@return [WorkspaceDocumentDiagnosticReport
# File lib/language_server/protocol/interface/workspace_diagnostic_report.rb, line 17 def items attributes.fetch(:items) end
to_hash()
click to toggle source
# File lib/language_server/protocol/interface/workspace_diagnostic_report.rb, line 23 def to_hash attributes end
to_json(*args)
click to toggle source
# File lib/language_server/protocol/interface/workspace_diagnostic_report.rb, line 27 def to_json(*args) to_hash.to_json(*args) end