Class: Rucoa::Handlers::TextDocumentSelectionRangeHandler
- Defined in:
- lib/rucoa/handlers/text_document_selection_range_handler.rb
Defined Under Namespace
Classes: SelectionRangeProvider
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Rucoa::Handlers::Base
Instance Method Details
#call ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/rucoa/handlers/text_document_selection_range_handler.rb', line 8 def call return unless responsible? respond( positions.filter_map do |position| SelectionRangeProvider.call( position: position, source: source ) end ) end |