Class: Dassets::FileStore::NullStore
- Inherits:
-
Dassets::FileStore
- Object
- Dassets::FileStore
- Dassets::FileStore::NullStore
- Defined in:
- lib/dassets/file_store.rb
Instance Attribute Summary
Attributes inherited from Dassets::FileStore
Instance Method Summary collapse
-
#initialize ⇒ NullStore
constructor
A new instance of NullStore.
- #save(url_path, &block) ⇒ Object
Methods inherited from Dassets::FileStore
Constructor Details
#initialize ⇒ NullStore
Returns a new instance of NullStore.
27 28 29 |
# File 'lib/dassets/file_store.rb', line 27 def initialize super('') end |
Instance Method Details
#save(url_path, &block) ⇒ Object
31 32 33 34 |
# File 'lib/dassets/file_store.rb', line 31 def save(url_path, &block) # no-op, just return the store path like the base does store_path(url_path) end |