aboutsummaryrefslogtreecommitdiff
path: root/ruby/tests/test_import_pb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/tests/test_import_pb.rb')
-rw-r--r--ruby/tests/test_import_pb.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/ruby/tests/test_import_pb.rb b/ruby/tests/test_import_pb.rb
new file mode 100644
index 00000000..83f04d60
--- /dev/null
+++ b/ruby/tests/test_import_pb.rb
@@ -0,0 +1,13 @@
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: tests/test_import.proto
+
+require 'google/protobuf'
+
+Google::Protobuf::DescriptorPool.generated_pool.build do
+ add_message "foo_bar.TestImportedMessage" do
+ end
+end
+
+module FooBar
+ TestImportedMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("foo_bar.TestImportedMessage").msgclass
+end