Module: Mize
- Extended by:
- Configure
- Defined in:
- lib/mize.rb,
lib/mize/memoize.rb,
lib/mize/railtie.rb,
lib/mize/version.rb,
lib/mize/configure.rb,
lib/mize/global_clear.rb
Defined Under Namespace
Modules: CacheMethods, CacheProtocol, Configure, Memoize, Reload Classes: DefaultCache, Railtie
Constant Summary collapse
- MUTEX =
Mutex.new
- VERSION =
Mize version
'0.6.1'- VERSION_ARRAY =
:nodoc:
VERSION.split('.').map(&:to_i)
- VERSION_MAJOR =
:nodoc:
VERSION_ARRAY[0]
- VERSION_MINOR =
:nodoc:
VERSION_ARRAY[1]
- VERSION_BUILD =
:nodoc:
VERSION_ARRAY[2]
Class Attribute Summary collapse
-
.wrapped ⇒ Object
Returns the value of attribute wrapped.
Attributes included from Configure
Class Method Summary collapse
-
.cache_clear ⇒ Object
Clear all memoization caches at once.
Methods included from Configure
Class Attribute Details
.wrapped ⇒ Object
Returns the value of attribute wrapped.
7 8 9 |
# File 'lib/mize.rb', line 7 def wrapped @wrapped end |
Class Method Details
.cache_clear ⇒ Object
Clear all memoization caches at once.
5 6 7 |
# File 'lib/mize/global_clear.rb', line 5 def cache_clear each_cache(&:clear) end |