Method: PDC::Resource::PerThreadRegistry#instance
- Defined in:
- lib/pdc/resource/per_thread_registry.rb
#instance ⇒ Object
41 42 43 |
# File 'lib/pdc/resource/per_thread_registry.rb', line 41 def instance Thread.current[@per_thread_registry_key] ||= new end |