THRIFT-353. rb: Capitalize module names on ruby generation
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@750160 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/rb/benchmark/gen-rb/BenchmarkService.rb b/lib/rb/benchmark/gen-rb/BenchmarkService.rb
index 832098b..84e7b31 100644
--- a/lib/rb/benchmark/gen-rb/BenchmarkService.rb
+++ b/lib/rb/benchmark/gen-rb/BenchmarkService.rb
@@ -11,7 +11,7 @@
module ThriftBenchmark
module BenchmarkService
class Client
- include Thrift::Client
+ include ::Thrift::Client
def fibonacci(n)
send_fibonacci(n)
@@ -31,7 +31,7 @@
end
class Processor
- include Thrift::Processor
+ include ::Thrift::Processor
def process_fibonacci(seqid, iprot, oprot)
args = read_args(iprot, Fibonacci_args)
@@ -45,7 +45,7 @@
# HELPER FUNCTIONS AND STRUCTURES
class Fibonacci_args
- include Thrift::Struct
+ include ::Thrift::Struct
N = 1
Thrift::Struct.field_accessor self, :n
@@ -61,7 +61,7 @@
end
class Fibonacci_result
- include Thrift::Struct
+ include ::Thrift::Struct
SUCCESS = 0
Thrift::Struct.field_accessor self, :success