instance method
Pathname#file?
() -> bool
file?
pathname_builtin.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/pathname_builtin.rb, line 1042
def file?() FileTest.file?(@path) end
See FileTest.file?.