Module: ActiveFedora::Scoping::ClassMethods

Defined in:
lib/active_fedora/scoping.rb

Instance Method Summary collapse

Instance Method Details

#current_scopeObject

:nodoc:



11
12
13
# File 'lib/active_fedora/scoping.rb', line 11

def current_scope #:nodoc:
  Thread.current["#{self}_current_scope"]
end

#current_scope=(scope) ⇒ Object

:nodoc:



15
16
17
# File 'lib/active_fedora/scoping.rb', line 15

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