Class: Paperclip::Processors::Plain

Inherits:
DeflaterBase
  • Object
show all
Defined in:
lib/paperclip/processors/plain.rb

Instance Method Summary collapse

Methods inherited from DeflaterBase

#initialize

Constructor Details

This class inherits a constructor from Paperclip::Processors::DeflaterBase

Instance Method Details

#makeObject



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