1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/lib/sidekiq/middleware
Eugene Kenny d9cc977f1a
Allow middleware to yield arguments (#4673)
The arguments are always ignored, but this allows the block to be passed
to a method that yields arguments:

    class TaggedLoggingMiddleware
      def call(*, &block)
        Rails.logger.tagged("my cool job", &block)
      end
    end
2020-08-25 09:26:42 -07:00
..
chain.rb Allow middleware to yield arguments (#4673) 2020-08-25 09:26:42 -07:00
i18n.rb Use standardrb for source styling (#4114) 2019-04-01 09:20:41 -07:00