Clean up Ruby TTransport defs
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668893 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/rb/lib/thrift/transport/ttransport.rb b/lib/rb/lib/thrift/transport/ttransport.rb
index fb41495..a9ea5e5 100644
--- a/lib/rb/lib/thrift/transport/ttransport.rb
+++ b/lib/rb/lib/thrift/transport/ttransport.rb
@@ -29,15 +29,15 @@
end
# TTransport is basically an abstract class, but isn't raising NotImplementedError
-# TODO: Fix this - Kevin Clark - 3/27/08
+# TODO: Think about if this is the right thing - Kevin Clark - 3/27/08
class TTransport
- def isOpen(); nil; end
+ def isOpen; end
- def open(); nil; end
+ def open; end
- def close(); nil; end
+ def close; end
- def read(sz); nil; end
+ def read(sz); end
def readAll(sz)
buff = ''
@@ -50,9 +50,9 @@
return buff
end
- def write(buf); nil; end
+ def write(buf); end
- def flush(); nil; end
+ def flush; end
end