class
rails latest stable - Superclass: Object

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

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