Method: GRPC::GenericService::Dsl#inherited
- Defined in:
- src/ruby/lib/grpc/generic/service.rb
#inherited(subclass) ⇒ Object
105 106 107 108 109 110 |
# File 'src/ruby/lib/grpc/generic/service.rb', line 105 def inherited(subclass) # Each subclass should have a distinct class variable with its own # rpc_descs subclass.rpc_descs.merge!(rpc_descs) subclass.service_name = service_name end |