You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by br...@apache.org on 2009/03/18 03:40:55 UTC
svn commit: r755460 - /incubator/thrift/trunk/lib/rb/lib/thrift/transport.rb
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 = ''