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