diff options
author | Yilun Chong <yilunchong@google.com> | 2017-06-27 18:24:15 -0700 |
---|---|---|
committer | Yilun Chong <yilunchong@google.com> | 2017-06-27 18:24:15 -0700 |
commit | 18a0c2c4d2894e820f96494f33d8ca3ea33dec3a (patch) | |
tree | ba6297a500f23a17ba2844f3daeae0f02561ac80 /ruby/tests/test_import_pb.rb | |
parent | 2ad74e1606728564cc777aa4917d7e2299317eda (diff) | |
download | protobuf-18a0c2c4d2894e820f96494f33d8ca3ea33dec3a.tar.gz protobuf-18a0c2c4d2894e820f96494f33d8ca3ea33dec3a.tar.bz2 protobuf-18a0c2c4d2894e820f96494f33d8ca3ea33dec3a.zip |
add proto2 supported for cpp,python,nodejs,ruby,php
Diffstat (limited to 'ruby/tests/test_import_pb.rb')
-rw-r--r-- | ruby/tests/test_import_pb.rb | 13 |
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 |