Class: Rucoa::Handlers::TextDocumentDocumentHighlightHandler::NodeToHighlightsMappers::Base
- Inherits:
-
Object
- Object
- Rucoa::Handlers::TextDocumentDocumentHighlightHandler::NodeToHighlightsMappers::Base
- Defined in:
- lib/rucoa/handlers/text_document_document_highlight_handler.rb
Direct Known Subclasses
AnyMapper, BeginMapper, CaseMapper, ClassVariableMapper, ForMapper, GlobalVariableMapper, IfMapper, InstanceVariableMapper, LocalVariableMapper, ModuleMapper, SendMapper, WhenMapper, WhileMapper
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Array
-
#initialize(node) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(node) ⇒ Base
Returns a new instance of Base.
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
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
#call ⇒ Array
92 93 94 |
# File 'lib/rucoa/handlers/text_document_document_highlight_handler.rb', line 92 def call raise ::NotImplementedError end |