Module: ConvenientService::Service::Plugins::CanNotBeInherited::Concern

Includes:
ConvenientService::Support::Concern
Defined in:
lib/convenient_service/service/plugins/can_not_be_inherited/concern.rb

Class Method Summary collapse

Class Method Details

.inherited(sub_service_class) ⇒ void

This method returns an undefined value.



16
17
18
# File 'lib/convenient_service/service/plugins/can_not_be_inherited/concern.rb', line 16

def inherited(sub_service_class)
  ::ConvenientService.raise Exceptions::ServiceIsInherited.new(service_class: self, sub_service_class: sub_service_class)
end