See File.file?.
File.file?
Returns:
44 45 46
# File 'lib/path/file_predicates.rb', line 44 def file? File.file?(@path) end