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 2010/08/09 17:25:35 UTC

svn commit: r983680 - /incubator/thrift/trunk/lib/rb/lib/thrift/transport/memory_buffer_transport.rb

Author: bryanduxbury
Date: Mon Aug  9 15:25:34 2010
New Revision: 983680

URL: http://svn.apache.org/viewvc?rev=983680&view=rev
Log:
rb: Make MemoryTransport's inspect_buffer method work in Ruby 1.9

Patch: Rajesh Malepati

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

Modified: incubator/thrift/trunk/lib/rb/lib/thrift/transport/memory_buffer_transport.rb
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/lib/thrift/transport/memory_buffer_transport.rb?rev=983680&r1=983679&r2=983680&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/lib/thrift/transport/memory_buffer_transport.rb (original)
+++ incubator/thrift/trunk/lib/rb/lib/thrift/transport/memory_buffer_transport.rb Mon Aug  9 15:25:34 2010
@@ -88,9 +88,9 @@ module Thrift
           out << ">"
         end
       
-        out << @buf[idx].to_s(16)
+        out << @buf[idx].ord.to_s(16)
       end
       out.join(" ")
     end
   end
-end
\ No newline at end of file
+end