class method
self.new
Ruby on Rails 3.1.12
Since v2.2.3Signature
self.new(cache_path, options = nil)
No documentation comment.
Parameters
-
cache_pathreq -
optionsopt = nil
Source
# File activesupport/lib/active_support/cache/file_store.rb, line 18
def initialize(cache_path, options = nil)
super(options)
@cache_path = cache_path.to_s
extend Strategy::LocalCache
end
Defined in activesupport/lib/active_support/cache/file_store.rb line 18
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::FileStore