Module: CacheWithSettings
- Defined in:
- lib/cache_with_settings.rb,
lib/cache_with_settings/railtie.rb,
lib/cache_with_settings/version.rb,
lib/cache_with_settings/configuration.rb
Defined Under Namespace
Modules: Helpers
Classes: Railtie
Constant Summary
collapse
- VERSION =
"1.1.0"
Class Method Summary
collapse
Class Method Details
.compose_key(key) ⇒ Object
12
13
14
|
# File 'lib/cache_with_settings.rb', line 12
def self.compose_key(key)
Array.wrap(key).concat(CacheWithSettings.cache_keys.call)
end
|
7
8
9
|
# File 'lib/cache_with_settings/configuration.rb', line 7
def self.configure
yield self
end
|