Method: Lit::Cache#initialize
- Defined in:
- lib/lit/cache.rb
#initialize ⇒ Cache
Returns a new instance of Cache.
21 22 23 24 25 26 27 28 |
# File 'lib/lit/cache.rb', line 21 def initialize @hits_counter = Lit.get_key_value_engine @request_info_store = Lit.get_key_value_engine @hits_counter_working = true @keys = nil @localization_object_cache = {} @localization_key_object_cache = {} end |