Sha256: 3d6c1da4f254f983d7b5e0593f86af202043f239593724a1fb753c35d6b49d6b
Contents?: true
Size: 322 Bytes
Versions: 34
Compression:
Stored size: 322 Bytes
Contents
require 'active_support/core_ext/class/attribute' module Delayed class Plugin class_attribute :callback_block def self.callbacks(&block) self.callback_block = block end def initialize self.class.callback_block.call(Delayed::Worker.lifecycle) if self.class.callback_block end end end
Version data entries
34 entries across 34 versions & 4 rubygems