Class: LSP::ShowMessageParams
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface ShowMessageParams
/**
* The message type. See {@link 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
379 380 381 |
# File 'lib/lsp/lsp_protocol.rb', line 379 def @message end |
#type ⇒ Object
type: MessageType # type: string
379 380 381 |
# File 'lib/lsp/lsp_protocol.rb', line 379 def type @type end |
Instance Method Details
#from_h!(value) ⇒ Object
381 382 383 384 385 386 |
# File 'lib/lsp/lsp_protocol.rb', line 381 def from_h!(value) value = {} if value.nil? self.type = value['type'] # Unknown type self. = value['message'] self end |