about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-09-08 12:24:48 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-08 12:32:58 +0000
commitd998717eee85940a15ef378d43a42b3bea26e0f2 (patch)
treea9a296220bcdd664f3088b925981dfc7ee480e87 /lib
parent25c0c64867108322f42f558177d659dd14333ad4 (diff)
downloaddtas-d998717eee85940a15ef378d43a42b3bea26e0f2.tar.gz
Having it return nil in a noop function seems wrong.
We can't silently discard the value (unlike pipe_size=)
Diffstat (limited to 'lib')
-rw-r--r--lib/dtas/pipe.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/dtas/pipe.rb b/lib/dtas/pipe.rb
index cd3ac46..41783d3 100644
--- a/lib/dtas/pipe.rb
+++ b/lib/dtas/pipe.rb
@@ -21,9 +21,6 @@ class DTAS::Pipe < IO # :nodoc:
   unless method_defined?(:pipe_size=)
     def pipe_size=(_)
     end
-
-    def pipe_size
-    end
   end
 end