lib/emittance/brokerage.rb in emittance-0.1.2 vs lib/emittance/brokerage.rb in emittance-0.1.3

- old
+ new

@@ -9,12 +9,11 @@ @enabled = true @current_broker = nil class << self # @param event [Emittance::Event] the event object - # @param broker_id [Symbol] a symbol that can be used to identify a broker by def send_event(event) - broker.process_event event + broker.process_event(event) if enabled? end # @return [Class] the currently selected broker def broker @current_broker