Class: Lsp::TextDocumentHoverResult
- Inherits:
-
Struct
- Object
- Struct
- Lsp::TextDocumentHoverResult
- Defined in:
- lib/lsp.rb
Instance Attribute Summary collapse
-
#contents ⇒ Object
Returns the value of attribute contents.
Instance Method Summary collapse
Instance Attribute Details
#contents ⇒ Object
Returns the value of attribute contents
57 58 59 |
# File 'lib/lsp.rb', line 57 def contents @contents end |
Instance Method Details
#to_h ⇒ Object
58 59 60 61 62 63 |
# File 'lib/lsp.rb', line 58 def to_h { contents: self.contents, range: nil, } end |