Class: ProxyRb::EventBus::NameResolver::FailingResolver
- Inherits:
-
Object
- Object
- ProxyRb::EventBus::NameResolver::FailingResolver
- Defined in:
- lib/proxy_rb/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
130 131 132 |
# File 'lib/proxy_rb/event_bus/name_resolver.rb', line 130 def match?(event_id) raise ArgumentError, %(Input type "#{event_id.class}" of event_id "#{event_id}" is invalid) end |
.supports ⇒ Object
134 135 136 |
# File 'lib/proxy_rb/event_bus/name_resolver.rb', line 134 def supports [] end |