Sha256: 6026131f5a3ae246b04f13f9ea8ddd4721de73881639e46e8c8e1190fe17f0f6
Contents?: true
Size: 262 Bytes
Versions: 2
Compression:
Stored size: 262 Bytes
Contents
# frozen_string_literal: true module Bullet module ActiveJob def self.included(base) base.class_eval do around_perform do |_job, block| Bullet.profile do block.call end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bullet-6.0.2 | lib/bullet/active_job.rb |
bullet-6.0.1 | lib/bullet/active_job.rb |