Module: ActiveFedora::Scoping::ClassMethods
- Defined in:
- lib/active_fedora/scoping.rb
Instance Method Summary collapse
-
#current_scope ⇒ Object
:nodoc:.
-
#current_scope=(scope) ⇒ Object
:nodoc:.
Instance Method Details
#current_scope ⇒ Object
: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 |