class Sidekiq::Middleware::Entry
Represents each link in the middleware chain @api private
Attributes
klass[R]
Public Class Methods
new(config, klass, *args)
click to toggle source
# File lib/sidekiq/middleware/chain.rb, line 194 def initialize(config, klass, *args) @config = config @klass = klass @args = args end
Public Instance Methods
make_new()
click to toggle source
# File lib/sidekiq/middleware/chain.rb, line 200 def make_new x = @klass.new(*@args) x.config = @config if @config && x.respond_to?(:config=) x end