v4.1.0
tag514a3d54569411985aca27a8630f213783e9f8a2
object b9cf769a639d22e63d2c611541000b46e5d07d45
authorEric Wong <normalperson@yhbt.net>
Mon, 16 May 2011 16:53:55 +0000 (16 09:53 -0700)
io_splice 4.1.0 - copy_stream enhancement for 1.9

IO::Splice.copy_stream coerces based on the availability of
the #to_path method in source and destination arguments.

This is to be compatible with IO.copy_stream and also
Rack::File since this may be used in web servers.

This is NOT visible with Ruby 1.8 since File.open
doesn't coerce with #to_path on the given object.