Class: Kvom::Storage::FileSystemStorage
- Defined in:
- lib/kvom/storage/file_system_storage.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(options) ⇒ FileSystemStorage
constructor
A new instance of FileSystemStorage.
Methods inherited from Base
Constructor Details
#initialize(options) ⇒ FileSystemStorage
Returns a new instance of FileSystemStorage.
8 9 10 11 12 |
# File 'lib/kvom/storage/file_system_storage.rb', line 8 def initialize() super path = config[:path] or raise "No path specified" @storage = ActiveSupport::Cache::FileStore.new(path, ) end |