Class: Spoom::LSP::Hover
- Inherits:
-
T::Struct
- Object
- T::Struct
- Spoom::LSP::Hover
- Extended by:
- T::Sig
- Includes:
- PrintableSymbol
- Defined in:
- lib/spoom/sorbet/lsp/structures.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#accept_printer(printer) ⇒ Object
39 40 41 42 |
# File 'lib/spoom/sorbet/lsp/structures.rb', line 39 def accept_printer(printer) printer.print("#{contents}\n") printer.print_object(range) if range end |
#to_s ⇒ Object
45 46 47 |
# File 'lib/spoom/sorbet/lsp/structures.rb', line 45 def to_s "#{contents} (#{range})." end |