Module: Memosa::API
- Defined in:
- lib/memosa.rb
Overview
This module provides a #memosa helper that can be used to manipulate the memoization cache directly.
Instance Method Summary collapse
-
#memosa ⇒ Memosa::Cache
Used to manipulate the memoized cache directly.
Instance Method Details
#memosa ⇒ Memosa::Cache
Used to manipulate the memoized cache directly
128 129 130 |
# File 'lib/memosa.rb', line 128 def memosa ::Memosa::Cache.new(@_memosa_cache ||= {}) end |