Sha256: 8d8c29a177cba18f87fd55d22afd5def12295553035827506e065aa001223d19
Contents?: true
Size: 310 Bytes
Versions: 3
Compression:
Stored size: 310 Bytes
Contents
# frozen_string_literal: true class TestJobWithCallbacks cattr_accessor :called_callbacks self.called_callbacks = [] def self.clear called_callbacks.clear end def failure(*) self.class.called_callbacks << :failure end def perform self.class.called_callbacks << :perform end end
Version data entries
3 entries across 3 versions & 1 rubygems