Class: Regexer::Utils::Handlers::SingleEntityCheckerValueHandler::Base
- Inherits:
-
BaseHandler
- Object
- BaseHandler
- Regexer::Utils::Handlers::SingleEntityCheckerValueHandler::Base
show all
- Defined in:
- lib/regexer/utils/handlers/single_entity_checker_value_handlers/base.rb
Overview
The base class for the single engtity checker value handler
Instance Method Summary
collapse
Methods inherited from BaseHandler
#handle
Instance Method Details
#give_to_next_handler(value) ⇒ Object
17
18
19
|
# File 'lib/regexer/utils/handlers/single_entity_checker_value_handlers/base.rb', line 17
def give_to_next_handler(value)
@next_handler&.handle(value) if @next_handler
end
|
#next_handler(handler) ⇒ Object
11
12
13
14
15
|
# File 'lib/regexer/utils/handlers/single_entity_checker_value_handlers/base.rb', line 11
def next_handler(handler)
@next_handler = handler
handler
end
|