out << endl;
indent_up();
- indent(out) << "include Thrift::Struct" << endl;
+ indent(out) << "include ::Thrift::Struct" << endl;
if (is_exception) {
generate_rb_simple_exception_constructor(out, tstruct);
indent_up();
indent(f_service_) <<
- "include Thrift::Client" << endl << endl;
+ "include ::Thrift::Client" << endl << endl;
// Generate client method implementations
vector<t_function*> functions = tservice->get_functions();
indent_up();
f_service_ <<
- indent() << "include Thrift::Processor" << endl <<
+ indent() << "include ::Thrift::Processor" << endl <<
endl;
// Generate the process subfunctions