Class: Aruba::EventBus::NameResolver::FailingResolver

Inherits:
Object
  • Object
show all
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

Returns:

  • (Boolean)


133
134
135
# File 'lib/aruba/event_bus/name_resolver.rb', line 133

def match?(event_id)
  fail ArgumentError, %(Input type "#{event_id.class}" of event_id "#{event_id}" is invalid)
end

.supportsObject



137
138
139
# File 'lib/aruba/event_bus/name_resolver.rb', line 137

def supports
  []
end