diff options
author | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2016-08-18 10:00:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-18 10:00:18 -0700 |
commit | f4112fc06e126ae4adc4dce99d71d021ff36bf9a (patch) | |
tree | 9dcd6f609dffdde48e726e8e83f6ddc70c185e4c /examples/ruby/lib/helloworld_pb.rb | |
parent | 9770206fc41ee51e26bc9d3dedb5a69f2a8c0dc4 (diff) | |
parent | e1ee20bde6c30f0aa5a6f5309d20971ccd0122a7 (diff) |
Merge pull request #7741 from nicolasnoble/manual-upmerge
Manual upmerge from v1.0.x to master.
Diffstat (limited to 'examples/ruby/lib/helloworld_pb.rb')
-rw-r--r-- | examples/ruby/lib/helloworld_pb.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/ruby/lib/helloworld_pb.rb b/examples/ruby/lib/helloworld_pb.rb new file mode 100644 index 0000000000..82bdd78e2a --- /dev/null +++ b/examples/ruby/lib/helloworld_pb.rb @@ -0,0 +1,18 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: helloworld.proto + +require 'google/protobuf' + +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "helloworld.HelloRequest" do + optional :name, :string, 1 + end + add_message "helloworld.HelloReply" do + optional :message, :string, 1 + end +end + +module Helloworld + HelloRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("helloworld.HelloRequest").msgclass + HelloReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("helloworld.HelloReply").msgclass +end |