⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (160 Bytes)
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)
Loading...