Class: Marty::CacheAdapters::McflyRubyCache
- Inherits:
-
Delorean::Cache::Adapters::RubyCache
- Object
- Delorean::Cache::Adapters::RubyCache
- Marty::CacheAdapters::McflyRubyCache
- Defined in:
- lib/marty/cache_adapters/mcfly_ruby_cache.rb
Instance Method Summary collapse
Instance Method Details
#cache_item?(klass:, method_name:, args:) ⇒ Boolean
4 5 6 7 8 9 10 |
# File 'lib/marty/cache_adapters/mcfly_ruby_cache.rb', line 4 def cache_item?(klass:, method_name:, args:) ts = args && args.first return false if Mcfly.is_infinity(ts) true end |