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