From 7e9ac7bf593a71b05b0879ddc34aaf82509052bb Mon Sep 17 00:00:00 2001 From: Bryan Duxbury Date: Mon, 9 Aug 2010 15:25:34 +0000 Subject: [PATCH] rb: Make MemoryTransport's inspect_buffer method work in Ruby 1.9 Patch: Rajesh Malepati git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@983680 13f79535-47bb-0310-9956-ffa450edef68 --- lib/rb/lib/thrift/transport/memory_buffer_transport.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rb/lib/thrift/transport/memory_buffer_transport.rb b/lib/rb/lib/thrift/transport/memory_buffer_transport.rb index b4a80f88..3169b2b2 100644 --- a/lib/rb/lib/thrift/transport/memory_buffer_transport.rb +++ b/lib/rb/lib/thrift/transport/memory_buffer_transport.rb @@ -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 -- 2.17.1