Class: Paperclip::Rack::FileAdapter
- Inherits:
-
AbstractAdapter
- Object
- AbstractAdapter
- Paperclip::Rack::FileAdapter
- Defined in:
- lib/paperclip/rack/io_adapters/file_adapter.rb
Instance Method Summary collapse
-
#initialize(target) ⇒ FileAdapter
constructor
A new instance of FileAdapter.
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 |