Module: RedisMemo::TestOverrides
- Included in:
- RedisMemo
- Defined in:
- lib/redis_memo/testing.rb
Instance Method Summary collapse
Instance Method Details
#without_memo? ⇒ Boolean
47 48 49 50 51 52 |
# File 'lib/redis_memo/testing.rb', line 47 def without_memo? if RedisMemo::Testing.enabled? && !RedisMemo::Memoizable::Invalidation.class_variable_get(:@@invalidation_queue).empty? return true end super end |