instance method
ensure_cache_path
Ruby on Rails 2.3.18
Since v2.2.3 PrivateSignature
ensure_cache_path(path)
No documentation comment.
Parameters
-
pathreq
Source
# File activesupport/lib/active_support/cache/file_store.rb, line 55
def ensure_cache_path(path)
FileUtils.makedirs(path) unless File.exist?(path)
end
Defined in activesupport/lib/active_support/cache/file_store.rb line 55
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::FileStore