class Aruba::EventBus::NameResolver::StringResolver
@private Convert a string in to an event class
Public Class Methods
Source
# File lib/aruba/event_bus/name_resolver.rb, line 79 def match?(event_id) event_id.is_a? String end
Source
# File lib/aruba/event_bus/name_resolver.rb, line 84 def supports [String] end
Which types are supported
Public Instance Methods
Source
# File lib/aruba/event_bus/name_resolver.rb, line 89 def transform(_, event_id) constantize(event_id) end