class LuckyCache::HabitatSettings
- LuckyCache::HabitatSettings
- Reference
- Object
Defined in:
lucky_cache.crClass Method Summary
- .default_duration : Time::Span
- .default_duration=(value : Time::Span)
-
.default_duration?
Used for checking missing settings on non-nilable types It's advised to use default_duration in your apps to ensure the propper type is checked.
- .storage : LuckyCache::BaseStore
- .storage=(value : LuckyCache::BaseStore)
-
.storage?
Used for checking missing settings on non-nilable types It's advised to use storage in your apps to ensure the propper type is checked.
-
.to_h
Generates a hash using the provided values
Class Method Detail
def self.default_duration?
#
Used for checking missing settings on non-nilable types It's advised to use default_duration in your apps to ensure the propper type is checked.
def self.storage?
#
Used for checking missing settings on non-nilable types It's advised to use storage in your apps to ensure the propper type is checked.