lib/emittance/brokers/synchronous.rb in emittance-0.0.3 vs lib/emittance/brokers/synchronous.rb in emittance-0.0.4
- old
+ new
@@ -6,10 +6,12 @@
#
class Synchronous < Emittance::Broker
class << self
# (@see Emittance::Broker.process_event)
def process_event(event)
- Emittance::Dispatcher.process_event event
+ dispatcher.process_event event
end
end
end
end
+
+require 'emittance/dispatchers/synchronous'