Class: Google::Protobuf::DescriptorPool

Inherits:
Object
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/google-protobuf-3.21.12-x86_64-linux/lib/google/protobuf/descriptor_dsl.rb

Overview

Re-open the class (the rest of the class is implemented in C)

Instance Method Summary collapse

Instance Method Details

#build(&block) ⇒ Object



458
459
460
461
462
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/google-protobuf-3.21.12-x86_64-linux/lib/google/protobuf/descriptor_dsl.rb', line 458

def build(&block)
  builder = Internal::Builder.new(self)
  builder.instance_eval(&block)
  builder.build
end