Class: Spoom::LSP::Location
- Inherits:
-
T::Struct
- Object
- T::Struct
- Spoom::LSP::Location
- 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
132 133 134 135 |
# File 'lib/spoom/sorbet/lsp/structures.rb', line 132 def accept_printer(printer) printer.print_colored("#{printer.clean_uri(uri)}:", Color::LIGHT_BLACK) printer.print_object(range) end |
#to_s ⇒ Object
138 139 140 |
# File 'lib/spoom/sorbet/lsp/structures.rb', line 138 def to_s "#{uri}:#{range}" end |