class LanguageServer::Protocol::Interface::WorkDoneProgressEnd
Attributes
attributes[R]
Public Class Methods
new(kind:, message: nil)
click to toggle source
# File lib/language_server/protocol/interface/work_done_progress_end.rb, line 5 def initialize(kind:, message: nil) @attributes = {} @attributes[:kind] = kind @attributes[:message] = message if message @attributes.freeze end
Public Instance Methods
kind()
click to toggle source
@return [“end”]
# File lib/language_server/protocol/interface/work_done_progress_end.rb, line 15 def kind attributes.fetch(:kind) end
message()
click to toggle source
Optional, a final message indicating to for example indicate the outcome of the operation.
@return [string]
# File lib/language_server/protocol/interface/work_done_progress_end.rb, line 24 def message attributes.fetch(:message) end
to_hash()
click to toggle source
# File lib/language_server/protocol/interface/work_done_progress_end.rb, line 30 def to_hash attributes end
to_json(*args)
click to toggle source
# File lib/language_server/protocol/interface/work_done_progress_end.rb, line 34 def to_json(*args) to_hash.to_json(*args) end