Class: Dassets::NullFileStore
- Defined in:
- lib/dassets/file_store.rb
Instance Attribute Summary
Attributes inherited from FileStore
Instance Method Summary collapse
-
#initialize ⇒ NullFileStore
constructor
A new instance of NullFileStore.
- #save(url_path) ⇒ Object
Methods inherited from FileStore
Constructor Details
#initialize ⇒ NullFileStore
Returns a new instance of NullFileStore.
30 31 32 |
# File 'lib/dassets/file_store.rb', line 30 def initialize super("") end |
Instance Method Details
#save(url_path) ⇒ Object
34 35 36 37 |
# File 'lib/dassets/file_store.rb', line 34 def save(url_path) # No-op, just return the store path like the base does. store_path(url_path) end |