Class: Rucoa::Handlers::TextDocumentDocumentHighlightHandler::NodeToHighlightsMappers::Base

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(node) ⇒ Base

Returns a new instance of Base.

Parameters:



87
88
89
# File 'lib/rucoa/handlers/text_document_document_highlight_handler.rb', line 87

def initialize(node)
  @node = node
end

Class Method Details

.call(node) ⇒ Array

Parameters:

Returns:

  • (Array)


81
82
83
# File 'lib/rucoa/handlers/text_document_document_highlight_handler.rb', line 81

def call(node)
  new(node).call
end

Instance Method Details

#callArray

Returns:

  • (Array)

Raises:

  • (::NotImplementedError)


92
93
94
# File 'lib/rucoa/handlers/text_document_document_highlight_handler.rb', line 92

def call
  raise ::NotImplementedError
end