Sha256: 13fdb6c8b6a9c6d504eb2b67b8c5c0bfc194e4e00621c40321569cf83232ffea
Contents?: true
Size: 337 Bytes
Versions: 2
Compression:
Stored size: 337 Bytes
Contents
# frozen_string_literal: true module Journaled class Current < ActiveSupport::CurrentAttributes attribute :tags attribute :journaled_actor_proc def tags=(value) super(value.freeze) end def tags attributes[:tags] ||= {}.freeze end def actor journaled_actor_proc&.call end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
journaled-6.0.0 | lib/journaled/current.rb |
journaled-5.3.2 | lib/journaled/current.rb |