method

zero?

v2_6_3 - Show latest stable - Class: FileTest
zero?(p1)
public

Returns true if the named file exists and has a zero size.

file_name can be an IO object.