Method: Superstore::Scoping::ClassMethods#current_scope=

Defined in:
lib/superstore/scoping.rb

#current_scope=(new_scope) ⇒ Object



22
23
24
# File 'lib/superstore/scoping.rb', line 22

def current_scope=(new_scope)
  Thread.current["#{self}_current_scope"] = new_scope
end