Class: Aruba::EventBus::NameResolver::FailingResolver
- Inherits:
-
Object
- Object
- Aruba::EventBus::NameResolver::FailingResolver
- Defined in:
- lib/aruba/event_bus/name_resolver.rb
Overview
Default failing resolver
This comes into play if the user passes an invalid event type
Class Method Summary collapse
Class Method Details
.match?(event_id) ⇒ Boolean
121 122 123 124 |
# File 'lib/aruba/event_bus/name_resolver.rb', line 121 def match?(event_id) raise ArgumentError, %(Input type "#{event_id.class}" of event_id "#{event_id}" is invalid) end |
.supports ⇒ Object
126 127 128 |
# File 'lib/aruba/event_bus/name_resolver.rb', line 126 def supports [] end |