= private = protected
The exact documentation you were looking for could not be found. Here is the best guess.
file?()
See FileTest.file?.
# File lib/pathname.rb, line 899 def file?() FileTest.file?(@path) end