instance method
Pathname#ftype
() -> ::String
ftype
pathname_builtin.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/pathname_builtin.rb, line 933
def ftype() File.ftype(@path) end
See File.ftype. Returns “type” of file (“file”, “directory”, etc).