Class: Tempfile
- Inherits:
-
Object
- Object
- Tempfile
- Defined in:
- lib/paperclip/iostream.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#size ⇒ Object
49 50 51 52 53 54 55 56 57 |
# File 'lib/paperclip/iostream.rb', line 49 def size if @tmpfile @tmpfile.fsync @tmpfile.flush @tmpfile.stat.size else 0 end end |