You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by kc...@apache.org on 2008/06/18 02:50:24 UTC

svn commit: r668893 - /incubator/thrift/trunk/lib/rb/lib/thrift/transport/ttransport.rb

Author: kclark
Date: Tue Jun 17 17:50:24 2008
New Revision: 668893

URL: http://svn.apache.org/viewvc?rev=668893&view=rev
Log:
Clean up Ruby TTransport defs

Modified:
    incubator/thrift/trunk/lib/rb/lib/thrift/transport/ttransport.rb

Modified: incubator/thrift/trunk/lib/rb/lib/thrift/transport/ttransport.rb
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/lib/thrift/transport/ttransport.rb?rev=668893&r1=668892&r2=668893&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/lib/thrift/transport/ttransport.rb (original)
+++ incubator/thrift/trunk/lib/rb/lib/thrift/transport/ttransport.rb Tue Jun 17 17:50:24 2008
@@ -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