Method: ICWS::Messages::MessageQueue::EventHandlerArray#fire

Defined in:
lib/icws/messages/messagequeue.rb

#fire(e) ⇒ Object



17
18
19
20
21
22
23
24
25
# File 'lib/icws/messages/messagequeue.rb', line 17

def fire(e)
    reverse_each { |handler|
        begin
            handler.call(e)
        rescue => e
            puts e.inspect
        end
    }
end