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 |
# File 'lib/marty/cache_adapters/mcfly_ruby_cache.rb', line 4 def cache_item?(klass:, method_name:, args:) !Mcfly.is_infinity(args&.first) end |