1 2 3 4 5 6
unless defined? Channel require 'thread' class Channel < Queue alias receive shift end end