class
ActionView::Resolver::Cache
v4.0.2 -
Show latest stable
- Superclass: Object
Threadsafe template cache
Constants
KEY_BLOCK = lambda {|cache, key| cache[key] = SmallCache.new(&NAME_BLOCK)}
NAME_BLOCK = lambda {|cache, name| cache[name] = SmallCache.new(&PREFIX_BLOCK)}
NO_TEMPLATES = [].freeze
PARTIAL_BLOCK = lambda {|cache, partial| cache[partial] = SmallCache.new}
PREFIX_BLOCK = lambda {|cache, prefix| cache[prefix] = SmallCache.new(&PARTIAL_BLOCK)}
Files
- actionpack/lib/action_view/template/resolver.rb