redis_hash/lib/redis_hash/concerns/callbacks.rb
# frozen_string_literal: true
# Callbacks provide an extensible mechanism for hooking into a RedisHash.
module RedisHash
module Callbacks
extend ActiveSupport::Concern
included do
include ActiveSupport::Callbacks
define_callbacks :initialize, :insertion, :deletion
end
end
end