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