Class: Journaled::Current
- Inherits:
-
ActiveSupport::CurrentAttributes
- Object
- ActiveSupport::CurrentAttributes
- Journaled::Current
- Defined in:
- lib/journaled/current.rb
Instance Method Summary collapse
Instance Method Details
#actor ⇒ Object
16 17 18 |
# File 'lib/journaled/current.rb', line 16 def actor journaled_actor_proc&.call end |
#tags ⇒ Object
12 13 14 |
# File 'lib/journaled/current.rb', line 12 def attributes[:tags] ||= {}.freeze end |
#tags=(value) ⇒ Object
8 9 10 |
# File 'lib/journaled/current.rb', line 8 def (value) super(value.freeze) end |