Class: ActionView::Resolver::Cache::SmallCache
- Inherits:
-
ThreadSafe::Cache
- Object
- ThreadSafe::Cache
- ActionView::Resolver::Cache::SmallCache
- Defined in:
- actionview/lib/action_view/template/resolver.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ SmallCache
constructor
A new instance of SmallCache.
Constructor Details
#initialize(options = {}) ⇒ SmallCache
Returns a new instance of SmallCache.
39 40 41 |
# File 'actionview/lib/action_view/template/resolver.rb', line 39 def initialize( = {}) super(.merge(:initial_capacity => 2)) end |