about summary refs log tree commit homepage
path: root/lib/yahns/stream_input.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/stream_input.rb')
-rw-r--r--lib/yahns/stream_input.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/stream_input.rb b/lib/yahns/stream_input.rb
index f0a43b3..8bef95e 100644
--- a/lib/yahns/stream_input.rb
+++ b/lib/yahns/stream_input.rb
@@ -145,6 +145,6 @@ class Yahns::StreamInput # :nodoc:
     raise Yahns::ClientShutdown, "bytes_read=#{@bytes_read}", []
   end
 
-  def discard # return nil
+  def close # return nil
   end
 end