Class: Dassets::FileStore::NullStore

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

Instance Attribute Summary

Attributes inherited from Dassets::FileStore

#root

Instance Method Summary collapse

Methods inherited from Dassets::FileStore

#store_path

Constructor Details

#initializeNullStore

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