Project

General

Profile

Bug #11199 ยป copy_stream.rb

ksss (Yuki Kurihara), 05/30/2015 10:36 AM

 
#! /usr/bin/env ruby

require 'pathname'

IO.write "src", "ok"
src = Pathname.new("src")
dst = Pathname.new("dst")
IO.copy_stream src, dst
puts IO.read("dst")

    (1-1/1)