Flowdock
method

cleanup

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActiveSupport::Cache::MemoryStore
cleanup(options = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/cache/memory_store.rb, line 39
      def cleanup(options = nil)
        options = merged_options(options)
        instrument(:cleanup, :size => @data.size) do
          keys = synchronize{ @data.keys }
          keys.each do |key|
            entry = @data[key]
            delete_entry(key, options) if entry && entry.expired?
          end
        end
      end
Register or log in to add new notes.