THRIFT-481: indentation of ruby classes is off by a few
authorIlya Maykov <ilyam@apache.org>
Thu, 1 Mar 2012 05:56:39 +0000 (05:56 +0000)
committerIlya Maykov <ilyam@apache.org>
Thu, 1 Mar 2012 05:56:39 +0000 (05:56 +0000)
commit9be7b3886027509c8c68f79fd8ac60c0005d09e2
tree5d45d190e8bba73f429938b741b85ad863663109
parentc00011a7522a84f17e5d53ad1db7a9128c41c1e4
THRIFT-481: indentation of ruby classes is off by a few
Compiler: Ruby
Patch: Ilya Maykov

Fixed indentation of gen-rb files by wrapping each file
output stream in a class that keeps track of the indent
level instead of using the global indent.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1295423 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_rb_generator.cc