class Aruba::EventBus::NameResolver::SymbolResolver
@private Convert a symbol in to an event class
Public Class Methods
Source
# File lib/aruba/event_bus/name_resolver.rb, line 100 def match?(event_id) event_id.is_a? Symbol end
Source
# File lib/aruba/event_bus/name_resolver.rb, line 105 def supports [Symbol] end
Which types are supported
Public Instance Methods
Source
# File lib/aruba/event_bus/name_resolver.rb, line 110 def transform(default_namespace, event_id) constantize("#{default_namespace}::#{camel_case(event_id)}") end