Returns the parent directory.
This is same as self + '..'.
self + '..'
196 197 198
# File 'lib/pathname.rb', line 196 def parent self + '..' end