about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-04-01 23:19:32 +0000
committerEric Wong <e@80x24.org>2015-04-01 23:35:23 +0000
commitadbf9a03518a94932e951c231852dffc63671432 (patch)
tree94719c983e836ad01618803413403337a75ad379 /lib
parent3c3ee6b78ab53478731d86fd99b8f9d6dc2d31a7 (diff)
downloadyahns-adbf9a03518a94932e951c231852dffc63671432.tar.gz
This will allow us to write arrays for chunked output without
unnecessary data copies.
Diffstat (limited to 'lib')
-rw-r--r--lib/yahns/tmpio.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/yahns/tmpio.rb b/lib/yahns/tmpio.rb
index f0ddd2f..d25d5e8 100644
--- a/lib/yahns/tmpio.rb
+++ b/lib/yahns/tmpio.rb
@@ -7,6 +7,7 @@ require 'tmpdir'
 # well with unlinked files.  This one is much shorter, easier
 # to understand, and slightly faster (no delegation).
 class Yahns::TmpIO < File # :nodoc:
+  include Kgio::PipeMethods
 
   # creates and returns a new File object.  The File is unlinked
   # immediately, switched to binary mode, and userspace output