Class: Paperclip::FileAdapter
- Inherits:
-
AbstractAdapter
- Object
- AbstractAdapter
- Paperclip::FileAdapter
- Defined in:
- lib/paperclip/io_adapters/file_adapter.rb
Constant Summary
Constants inherited from AbstractAdapter
AbstractAdapter::OS_RESTRICTED_CHARACTERS
Instance Attribute Summary
Attributes inherited from AbstractAdapter
#content_type, #original_filename, #size
Instance Method Summary collapse
-
#initialize(target) ⇒ FileAdapter
constructor
A new instance of FileAdapter.
Methods inherited from AbstractAdapter
#assignment?, #fingerprint, #inspect, #nil?, #read
Constructor Details
#initialize(target) ⇒ FileAdapter
Returns a new instance of FileAdapter.
3 4 5 6 |
# File 'lib/paperclip/io_adapters/file_adapter.rb', line 3 def initialize(target) @target = target cache_current_values end |