Method: FileUtils.copy_stream

Defined in:
lib/fileutils.rb

.copy_stream(src, dest) ⇒ Object

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


524
525
526
# File 'lib/fileutils.rb', line 524

def copy_stream(src, dest)
  IO.copy_stream(src, dest)
end