copy_stream: enough to get this working under MRI 1.8
commit1ec67bc61d534232b5eec5c3f32da362898c6508
authorEric Wong <normalperson@yhbt.net>
Fri, 13 May 2011 02:13:57 +0000 (12 19:13 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 13 May 2011 02:13:57 +0000 (12 19:13 -0700)
tree8a3ab33bfb07806b0744db56bb45457e90dc6717
parent83bdc390d98e9af4439c6db92679a9a84eb9f52a
copy_stream: enough to get this working under MRI 1.8

This way at least 1.8 users can have something akin to
IO.copy_stream.
lib/io/splice.rb
lib/io/splice/mri_18.rb [new file with mode: 0644]