copy_stream takes source offset like the non-splice version
commite8b06376c21a74e3fc2e6e9ace4eda8b2359ab62
authorEric Wong <normalperson@yhbt.net>
Sat, 5 Jun 2010 05:42:54 +0000 (5 05:42 +0000)
committerEric Wong <normalperson@yhbt.net>
Sat, 5 Jun 2010 05:42:54 +0000 (5 05:42 +0000)
tree5c5383add55910e98d0bd17aae5dd8cfef0851ec
parent5e222a0cedd7146bdc2b0f07d5c36ce7f38b740e
copy_stream takes source offset like the non-splice version

This should make it a drop-in replacement for IO.copy_stream,
except it won't deal with things like StringIO.
lib/io/splice.rb
test/test_io_splice.rb