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