Module: Snappier::Who
- Defined in:
- lib/snappier/who.rb
Class Method Summary collapse
Class Method Details
.current ⇒ Object
9 10 11 |
# File 'lib/snappier/who.rb', line 9 def self.current Thread.current[:snappier_who_current] end |
.current=(value) ⇒ Object
5 6 7 |
# File 'lib/snappier/who.rb', line 5 def self.current=(value) Thread.current[:snappier_who_current] = value end |