See File.size?.
File.size?
Returns:
96 97 98
# File 'lib/path/file_predicates.rb', line 96 def size? File.size?(@path) end