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
58 59 60 |
# File 'lib/lsp.rb', line 58 def contents @contents end |
Instance Method Details
#to_h ⇒ Object
59 60 61 62 63 64 |
# File 'lib/lsp.rb', line 59 def to_h { contents: self.contents, range: nil, } end |