THRIFT-431. rb: Capitalize namespace values
authorKevin Clark <kclark@apache.org>
Tue, 7 Apr 2009 22:47:34 +0000 (22:47 +0000)
committerKevin Clark <kclark@apache.org>
Tue, 7 Apr 2009 22:47:34 +0000 (22:47 +0000)
Author: Michael Stockton

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@763022 13f79535-47bb-0310-9956-ffa450edef68

compiler/cpp/src/generate/t_rb_generator.cc

index 49dd8aa..ec3666f 100644 (file)
@@ -171,7 +171,7 @@ class t_rb_generator : public t_oop_generator {
     std::vector<std::string> modules;
 
     for(boost::tokenizer<>::iterator beg=tok.begin(); beg != tok.end(); ++beg) {
-      modules.push_back(*beg);
+      modules.push_back(capitalize(*beg));
     }
 
     return modules;