Class: Rucoa::Handlers::TextDocumentDocumentHighlightHandler::NodeToHighlightsMappers::ElsifMapper

Inherits:
IfMapper
  • Object
show all
Defined in:
lib/rucoa/handlers/text_document_document_highlight_handler.rb

Instance Method Summary collapse

Methods inherited from Base

call, #initialize

Constructor Details

This class inherits a constructor from Rucoa::Handlers::TextDocumentDocumentHighlightHandler::NodeToHighlightsMappers::Base

Instance Method Details

#callArray

Returns:

  • (Array)


258
259
260
261
262
263
# File 'lib/rucoa/handlers/text_document_document_highlight_handler.rb', line 258

def call
  [
    *highlights_elsif,
    highlight_else
  ].compact
end