Class: LSP::MessageActionItem
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface MessageActionItem
/**
* A short title like 'Retry', 'Open Log' etc.
*/
title: string;
Instance Attribute Summary collapse
-
#title ⇒ Object
type: string.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#title ⇒ Object
type: string
396 397 398 |
# File 'lib/lsp/lsp_protocol.rb', line 396 def title @title end |
Instance Method Details
#from_h!(value) ⇒ Object
398 399 400 401 402 |
# File 'lib/lsp/lsp_protocol.rb', line 398 def from_h!(value) value = {} if value.nil? self.title = value['title'] self end |