= private = protected
parent()
Returns the parent directory.
This is same as self + ‘..’.
# File ext/pathname/lib/pathname.rb, line 185 def parent self + '..' end