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