From d998717eee85940a15ef378d43a42b3bea26e0f2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 8 Sep 2013 12:24:48 +0000 Subject: pipe: remove pipe_size call for non-Linux platforms Having it return nil in a noop function seems wrong. We can't silently discard the value (unlike pipe_size=) --- lib/dtas/pipe.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3-24-ge0c7