diff --git a/lib/rb/lib/thrift/transport.rb b/lib/rb/lib/thrift/transport.rb
index <HASH>..<HASH> 100644
--- a/lib/rb/lib/thrift/transport.rb
+++ b/lib/rb/lib/thrift/transport.rb
@@ -231,10 +231,6 @@ module Thrift
       return @rpos < @wpos
     end
 
-    def get_buffer
-      return @buf
-    end
-
     def reset_buffer(new_buf = '')
        @buf  = new_buf
        @sz   = new_buf.length
Rip out MemoryBuffer#get_buffer

Nobody should be using that method and it's preventing MemoryBuffer from being optimized wrt. memory usage


git-svn-id: <URL>