lib/iruby/out_stream.rb
def write s
      if @pub_socket.nil?
        raise 'I/O operation on closed file'
      else
        s = s.to_s
        @_buffer << s
        @_buffer_len += s.length
        _maybe_send
      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.
A file like object that publishes the stream to a 0MQ PUB socket .
def write s
      if @pub_socket.nil?
        raise 'I/O operation on closed file'
      else
        s = s.to_s
        @_buffer << s
        @_buffer_len += s.length
        _maybe_send
      end
    end
def write s if @pub_socket . nil? raise 'I/O operation on closed file' else s = s . to_s @_buffer << s @_buffer_len += s . length _maybe_send 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 .
s