Class: ActionView::Resolver::Cache::SmallCache

Inherits:
Concurrent::Map
  • Object
show all
Defined in:
lib/action_view/template/resolver.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ SmallCache

Returns a new instance of SmallCache.



41
42
43
# File 'lib/action_view/template/resolver.rb', line 41

def initialize(options = {})
  super(options.merge(initial_capacity: 2))
end