Class: Dassets::NullFileStore

Inherits:
FileStore show all
Defined in:
lib/dassets/file_store.rb

Instance Attribute Summary

Attributes inherited from FileStore

#root

Instance Method Summary collapse

Methods inherited from FileStore

#store_path

Constructor Details

#initializeNullFileStore

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