Clean up Ruby TTransport defs
authorKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 00:50:24 +0000 (00:50 +0000)
committerKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 00:50:24 +0000 (00:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668893 13f79535-47bb-0310-9956-ffa450edef68

lib/rb/lib/thrift/transport/ttransport.rb

index fb41495..a9ea5e5 100644 (file)
@@ -29,15 +29,15 @@ class TTransportException < TException
 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 @@ class TTransport
     return buff
   end
 
-  def write(buf); nil; end
+  def write(buf); end
 
-  def flush(); nil; end
+  def flush; end
 
 end