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

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

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0

Class Method Summary collapse

Methods included from ConvenientService::Support::Concern

included

Class Method Details

.inherited(sub_service_class) ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Parameters:

  • sub_service_class (Class)

Raises:

Since:

  • 1.0.0



21
22
23
# File 'lib/convenient_service/service/plugins/can_not_be_inherited/concern.rb', line 21

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