lib/iruby/out_stream.rb
#A file like object that publishes the stream to a 0MQ PUB socket.
A file like object that publishes the stream to a 0MQ PUB socket.
A file like object that publishes the stream to a 0MQ PUB socket .
def writelines sequence
      if @pub_socket.nil?
        raise 'I/O operation on closed file'
      else
        sequence.each do |s|
          write(s)
        end
      end
    end
def writelines sequence if @pub_socket . nil? raise 'I/O operation on closed file' else sequence . each do | s | write ( s ) end end end
A file like object that publishes the stream to a 0MQ PUB socket.
A file like object that publishes the stream to a 0MQ PUB socket .
sequence