From 09517e3aeadba204d5b0b8c45a03e8084c4fc0b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20L=C3=BCtke?= Date: Tue, 29 Apr 2008 15:28:24 -0400 Subject: Allow access to mem_cache_store's stats hash --- activesupport/lib/active_support/cache/mem_cache_store.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'activesupport/lib/active_support/cache/mem_cache_store.rb') diff --git a/activesupport/lib/active_support/cache/mem_cache_store.rb b/activesupport/lib/active_support/cache/mem_cache_store.rb index 15e2df13b3..bfe7e2ccf3 100644 --- a/activesupport/lib/active_support/cache/mem_cache_store.rb +++ b/activesupport/lib/active_support/cache/mem_cache_store.rb @@ -75,6 +75,10 @@ module ActiveSupport def clear @data.flush_all + end + + def stats + @data.stats end private -- cgit v1.2.3