Module: RedisMemo::TestOverrides
- Included in:
- RedisMemo
- Defined in:
- lib/redis_memo/testing.rb
Instance Method Summary collapse
Instance Method Details
#without_memoization? ⇒ Boolean
40 41 42 43 44 45 46 |
# File 'lib/redis_memo/testing.rb', line 40 def without_memoization? if RedisMemo::Testing.enabled? && !RedisMemo::Memoizable::Invalidation.class_variable_get(:@@invalidation_queue).empty? return true end super end |