diff options
Diffstat (limited to 'lib/yahns/wbuf.rb')
-rw-r--r-- | lib/yahns/wbuf.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/yahns/wbuf.rb b/lib/yahns/wbuf.rb index 8b2b82e..e6039b7 100644 --- a/lib/yahns/wbuf.rb +++ b/lib/yahns/wbuf.rb @@ -6,8 +6,8 @@ require_relative 'wbuf_common' class Yahns::Wbuf # :nodoc: include Yahns::WbufCommon - def initialize(body, persist) - @tmpio = Yahns::TmpIO.new + def initialize(body, persist, tmpdir) + @tmpio = Yahns::TmpIO.new(tmpdir) @sf_offset = @sf_count = 0 @wbuf_persist = persist # whether or not we keep the connection alive @body = body |