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