Author: bryanduxbury
Date: Wed Mar 18 02:40:54 2009
New Revision: 755460

URL: http://svn.apache.org/viewvc?rev=755460&view=rev
Log:
THRIFT-277. rb: Abstract Transport in Ruby #read method should throw 
NotImplementedException

The name says it all.

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

Modified: incubator/thrift/trunk/lib/rb/lib/thrift/transport.rb
URL: 
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/lib/thrift/transport.rb?rev=755460&r1=755459&r2=755460&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/lib/thrift/transport.rb (original)
+++ incubator/thrift/trunk/lib/rb/lib/thrift/transport.rb Wed Mar 18 02:40:54 
2009
@@ -35,7 +35,9 @@
 
     def close; end
 
-    def read(sz); end
+    def read(sz)
+      raise NotImplementedError
+    end
 
     def read_all(size)
       buf = ''


Reply via email to