public Method

FileUtils.copy_stream(src, dest)

Copies stream src to dest. src must respond to #read(n) and dest must respond to #write(str).

Source Code

# File fileutils.rb, line 473
def copy_stream(src, dest)
  fu_copy_stream0 src, dest, fu_stream_blksize(src, dest)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.