Class: Regexer::Utils::Handlers::AnyCharacterInInputValueHandlers::Base
- Inherits:
-
BaseHandler
- Object
- BaseHandler
- Regexer::Utils::Handlers::AnyCharacterInInputValueHandlers::Base
- Defined in:
- lib/regexer/utils/handlers/any_character_in_input_value_handlers/base.rb
Overview
The base class for the handling of input values of has_any_character_in method
Direct Known Subclasses
BasicTypesHandler, CharacterRangePatternHandler, FromToHashHandler, RegexShorthandPatternHandler
Instance Method Summary collapse
Methods inherited from BaseHandler
Instance Method Details
#give_to_next_handler(value) ⇒ Object
18 19 20 |
# File 'lib/regexer/utils/handlers/any_character_in_input_value_handlers/base.rb', line 18 def give_to_next_handler(value) @next_handler&.handle(value) if @next_handler end |
#next_handler(handler) ⇒ Object
12 13 14 15 16 |
# File 'lib/regexer/utils/handlers/any_character_in_input_value_handlers/base.rb', line 12 def next_handler(handler) @next_handler = handler handler end |