class
ActionView::Resolver::Cache
v6.1.3.1 -
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
- actionview/lib/action_view/template/resolver.rb