= private = protected
The exact documentation you were looking for could not be found. Here is the best guess.
parent()
Returns the parent directory.
This is same as self + ‘..’.
# File ext/pathname/lib/pathname.rb, line 187 def parent self + '..' end