Class: ConvenientService::Service::Plugins::ForbidsConvenientServiceEntitiesAsConstructorArguments::Middleware
- Inherits:
-
MethodChainMiddleware
- Object
- ConvenientService::Service::Plugins::ForbidsConvenientServiceEntitiesAsConstructorArguments::Middleware
- Defined in:
- lib/convenient_service/service/plugins/forbids_convenient_service_entities_as_constructor_arguments/middleware.rb
Instance Method Summary collapse
Instance Method Details
#next(*args, **kwargs, &block) ⇒ void
This method returns an undefined value.
22 23 24 25 26 27 28 |
# File 'lib/convenient_service/service/plugins/forbids_convenient_service_entities_as_constructor_arguments/middleware.rb', line 22 def next(*args, **kwargs, &block) args.each_with_index { |value, index| validate!(:args, index, value) } kwargs.each_pair { |key, value| validate!(:kwargs, key, value) } chain.next(*args, **kwargs, &block) end |