= private = protected
parent()
#parent returns the parent directory.
This is same as self + '..'.
# File lib/pathname.rb, line 460 def parent self + '..' end