Class: Lsp::CompletionItem
- Inherits:
-
Struct
- Object
- Struct
- Lsp::CompletionItem
- Defined in:
- lib/lsp.rb
Instance Attribute Summary collapse
-
#label ⇒ Object
Returns the value of attribute label.
-
#text_edit ⇒ Object
Returns the value of attribute text_edit.
Instance Method Summary collapse
Instance Attribute Details
#label ⇒ Object
Returns the value of attribute label
9 10 11 |
# File 'lib/lsp.rb', line 9 def label @label end |
#text_edit ⇒ Object
Returns the value of attribute text_edit
9 10 11 |
# File 'lib/lsp.rb', line 9 def text_edit @text_edit end |
Instance Method Details
#to_h ⇒ Object
10 11 12 13 14 15 |
# File 'lib/lsp.rb', line 10 def to_h { label: label, textEdit: text_edit.to_h, } end |