method
thread_local_key
v3.0.0 -
Show latest stable
- Class:
ActiveSupport::Cache::Strategy::LocalCache
thread_local_key()private
No documentation available.
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 145
def thread_local_key
@thread_local_key ||= "#{self.class.name.underscore}_local_cache_#{object_id}".gsub(/[\/-]/, '_').to_sym
end