about summary refs log tree commit homepage
path: root/lib/yahns/tee_input.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/tee_input.rb')
-rw-r--r--lib/yahns/tee_input.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/tee_input.rb b/lib/yahns/tee_input.rb
index 0d91a89..9028a6e 100644
--- a/lib/yahns/tee_input.rb
+++ b/lib/yahns/tee_input.rb
@@ -108,7 +108,7 @@ class Yahns::TeeInput < Yahns::StreamInput # :nodoc:
     buffer
   end
 
-  def discard
+  def close # returns nil
     @tmp = @tmp.close
   end
 end