Class: Aruba::EventBus::NameResolver::ClassResolver
- Inherits:
-
Object
- Object
- Aruba::EventBus::NameResolver::ClassResolver
- Defined in:
- lib/aruba/event_bus/name_resolver.rb
Overview
Convert a class in to an event class
Class Method Summary collapse
- .match?(event_id) ⇒ Boolean
-
.supports ⇒ Object
Which types are supported.
Instance Method Summary collapse
Class Method Details
.match?(event_id) ⇒ Boolean
58 59 60 |
# File 'lib/aruba/event_bus/name_resolver.rb', line 58 def match?(event_id) event_id.is_a? Class end |
.supports ⇒ Object
Which types are supported
63 64 65 |
# File 'lib/aruba/event_bus/name_resolver.rb', line 63 def supports [Class] end |
Instance Method Details
#transform(_, event_id) ⇒ Object
68 69 70 |
# File 'lib/aruba/event_bus/name_resolver.rb', line 68 def transform(_, event_id) event_id end |