diff options
author | Tobias Lütke <tobi@jadedpixel.com> | 2008-04-29 15:28:24 -0400 |
---|---|---|
committer | Tobias Lütke <tobi@jadedpixel.com> | 2008-04-29 15:28:24 -0400 |
commit | 09517e3aeadba204d5b0b8c45a03e8084c4fc0b6 (patch) | |
tree | 9b59fd849dd5b88e388adfa97aff55ad1e6b032c /activesupport/lib/active_support | |
parent | fef82759ff97692470496905951882a0aab49d5b (diff) | |
download | rails-09517e3aeadba204d5b0b8c45a03e8084c4fc0b6.tar.gz rails-09517e3aeadba204d5b0b8c45a03e8084c4fc0b6.tar.bz2 rails-09517e3aeadba204d5b0b8c45a03e8084c4fc0b6.zip |
Allow access to mem_cache_store's stats hash
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/cache/mem_cache_store.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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 |