# File lib/cabin/outputs/zeromq.rb, line 67 def <<(event) if @socket.name == "PUB" topic = @topic.is_a?(Proc) ? @topic.call(event) : @topic error_check @socket.send_string(topic, ZMQ::SNDMORE), "in topic send_string" end error_check @socket.send_string(event.inspect), "in send_string" end