Class: LSP::LogMessageParams
Overview
export interface LogMessageParams { /** * The message type. See MessageType / type: MessageType; /* * The actual message */ message: string; }
Instance Attribute Summary collapse
-
#message ⇒ Object
type: MessageType # type: string.
-
#type ⇒ Object
type: MessageType # type: string.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#message ⇒ Object
type: MessageType # type: string
447 448 449 |
# File 'lib/lsp/lsp_protocol.rb', line 447 def @message end |
#type ⇒ Object
type: MessageType # type: string
447 448 449 |
# File 'lib/lsp/lsp_protocol.rb', line 447 def type @type end |
Instance Method Details
#from_h!(value) ⇒ Object
449 450 451 452 453 454 |
# File 'lib/lsp/lsp_protocol.rb', line 449 def from_h!(value) value = {} if value.nil? self.type = value['type'] # Unknown type self. = value['message'] self end |