Class: Paperclip::Rack::FileAdapter

Inherits:
AbstractAdapter
  • Object
show all
Defined in:
lib/paperclip/rack/io_adapters/file_adapter.rb

Instance Method Summary collapse

Constructor Details

#initialize(target) ⇒ FileAdapter

Returns a new instance of FileAdapter.



4
5
6
7
# File 'lib/paperclip/rack/io_adapters/file_adapter.rb', line 4

def initialize(target)
  @target = target[:tempfile]
  cache_current_values(target)
end