Make the Ruby generator dynamic.
authorDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:42:01 +0000 (21:42 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:42:01 +0000 (21:42 +0000)
commita640cea9aed3409bef99162434c22649aa239ede
tree779906e2b3795eb383986372b3bb77c2a38c3cea
parentc53b184c1235eb66d87219fcf53d38a93e998e0f
Make the Ruby generator dynamic.

- Modify the Ruby generator constructor to fit the new generic interface.
- Register the Ruby genrator with the central registry.
- Deprecate the old way of invoking the Ruby generator.
- main.cc no longer includes t_rb_generator.h.

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