method

size

ruby latest stable - Class: Tempfile
size()
public

Returns the size of the temporary file. As a side effect, the IO buffer is flushed before determining the size.