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

Inherits:
ThreadSafe::Cache
  • Object
show all
Defined in:
lib/action_view/template/resolver.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ SmallCache

Returns a new instance of SmallCache.


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

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