method

size?

v1_8_7_72 - Show latest stable - Class: File
size?(p1)
public

Returns nil if file_name doesn’t exist or has zero size, the size of the file otherwise.