This is because a Celluloid::ZMQ::Mailbox is a Celluloid::IO::Mailbox.
We could add a superclass in Celluloid with the logic and subclass in both libs.
Coverage increased (+11.41%) when pulling 813350f6718cb08f0365e420a746603829fa9950 on halorgium:evented-mailbox into 10b207993857a6df31f84fb2a92eb55ff9f133f8 on celluloid:master.
This is because a
Celluloid::ZMQ::Mailbox
is aCelluloid::IO::Mailbox
. We could add a superclass in Celluloid with the logic and subclass in both libs.