Module: GRPC::GenericService::IncludedForClassMethods

Included in:
GRPC::GenericService
Defined in:
lib/grpc_typechecker/grpc_ext.rb

Overview

The usual way to supplement class methods is use of Module#included'. GRPC::GenericService' already contains included', thus we wrap self.included' by `Module#prepend'.

Instance Method Summary collapse

Instance Method Details

#included(base) ⇒ Object



9
10
11
12
# File 'lib/grpc_typechecker/grpc_ext.rb', line 9

def included(base)
  super
  base.extend(GRPC::GenericService::ClassMethods)
end