Class: Rucoa::Handlers::TextDocumentDocumentHighlightHandler::NodeToHighlightsMappers::ModuleMapper
- Inherits:
-
Base
- Object
- Base
- Rucoa::Handlers::TextDocumentDocumentHighlightHandler::NodeToHighlightsMappers::ModuleMapper
- Defined in:
- lib/rucoa/handlers/text_document_document_highlight_handler.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Rucoa::Handlers::TextDocumentDocumentHighlightHandler::NodeToHighlightsMappers::Base
Instance Method Details
#call ⇒ Array
489 490 491 492 493 494 495 496 |
# File 'lib/rucoa/handlers/text_document_document_highlight_handler.rb', line 489 def call [ @node.location.keyword, @node.location.end ].map do |parser_range| Highlights::TextHighlight.new(parser_range: parser_range) end end |