stat.zero? â true or false
Instance Public methods
Returns true
if stat is a zero-length file;
false
otherwise.
File.stat("testfile").zero? #=> false
Returns true
if stat is a zero-length file;
false
otherwise.
File.stat("testfile").zero? #=> false
Please login to continue.