方法
實例公開方法
cache_store() 連結
程式碼來源: 顯示 | 在 GitHub 中檢視
# File actionpack/lib/abstract_controller/caching.rb, line 15 def cache_store config.cache_store end
cache_store=(store) 連結
程式碼來源: 顯示 | 在 GitHub 中檢視
# File actionpack/lib/abstract_controller/caching.rb, line 19 def cache_store=(store) config.cache_store = ActiveSupport::Cache.lookup_store(*store) end