method

threadsafe!

rails latest stable - Class: ActiveSupport::Cache::Store

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

threadsafe!()
public

No documentation available.

# File activesupport/lib/active_support/cache.rb, line 46
      def threadsafe!
        @mutex = Mutex.new
        self.class.send :include, ThreadSafety
        self
      end