Class: Spoom::LSP::Range
- Inherits:
-
T::Struct
- Object
- T::Struct
- Spoom::LSP::Range
- 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
82 83 84 85 86 |
# File 'lib/spoom/sorbet/lsp/structures.rb', line 82 def accept_printer(printer) printer.print_object(start) printer.print_colored("-", :light_black) printer.print_object(self.end) end |
#to_s ⇒ Object
88 89 90 |
# File 'lib/spoom/sorbet/lsp/structures.rb', line 88 def to_s "#{start}-#{self.end}" end |