# File lib/ruote/part/dispatch_pool.rb, line 42 def handle (msg) case msg['action'] when 'dispatch' dispatch(msg) when 'dispatch_cancel' dispatch_cancel(msg) else # simply discard message end end