lib/celluloid/zmq/mailbox.rb in celluloid-zmq-0.13.0 vs lib/celluloid/zmq/mailbox.rb in celluloid-zmq-0.14.0.pre
- old
+ new
@@ -1,12 +1,10 @@
-require 'celluloid/io'
-
module Celluloid
module ZMQ
# Replacement mailbox for Celluloid::ZMQ actors
- class Mailbox < Celluloid::IO::Mailbox
+ class Mailbox < Celluloid::EventedMailbox
def initialize
- super Celluloid::ZMQ::Reactor.new
+ super(Reactor)
end
end
end
end