Sha256: 658329e96fc1f7599eb73109515b2736534c99d0a282b3cf0d91f9b51c5aa8ea
Contents?: true
Size: 491 Bytes
Versions: 61
Compression:
Stored size: 491 Bytes
Contents
module Spider class ControllerIO < IO BUFSIZE = 1024*4 def write raise NotImplementedError end def flush raise NotImplementedError end def set_body_io(io) if (io.is_a?(String)) write(io) else while (buf = io.read(BUFSIZE)) write(buf) end end end end end
Version data entries
61 entries across 61 versions & 1 rubygems