Module: ActiveFedora::Scoping::ClassMethods

Defined in:
lib/active_fedora/scoping.rb

Instance Method Summary collapse

Instance Method Details

#current_scopeObject

:nodoc:



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

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

#current_scope=(scope) ⇒ Object

:nodoc:



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

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