Class: Paperclip::Processors::Plain
- Inherits:
-
DeflaterBase
- Object
- Paperclip::Processor
- DeflaterBase
- Paperclip::Processors::Plain
- Defined in:
- lib/paperclip/processors/plain.rb
Instance Method Summary collapse
Methods inherited from DeflaterBase
Constructor Details
This class inherits a constructor from Paperclip::Processors::DeflaterBase
Instance Method Details
#make ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/paperclip/processors/plain.rb', line 6 def make dst = create_tempfile dst.write @file.read @file.rewind dst.flush dst.rewind dst end |