module IO::Stream::Writable

def close_write

Close the write end of the stream by flushing any remaining data.
def close_write
	flush
end