diff options
Diffstat (limited to 'lib/yahns/cap_input.rb')
-rw-r--r-- | lib/yahns/cap_input.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/yahns/cap_input.rb b/lib/yahns/cap_input.rb index 1aa10b6..313b3ce 100644 --- a/lib/yahns/cap_input.rb +++ b/lib/yahns/cap_input.rb @@ -7,8 +7,8 @@ class Yahns::CapInput < Yahns::TmpIO # :nodoc: attr_writer :bytes_left - def self.new(limit) - rv = super() + def self.new(limit, tmpdir) + rv = super(tmpdir) rv.bytes_left = limit rv end |