= private = protected
size()
Returns the size of the temporary file. As a side effect, the IO buffer is flushed before determining the size.
# File lib/tempfile.rb, line 252 def size if @tmpfile @tmpfile.flush @tmpfile.stat.size elsif @tmpname File.size(@tmpname) else 0 end end