= private = protected
dirname()
See File.dirname. Returns all but the last component of the path.
# File lib/pathname.rb, line 859 def dirname() self.class.new(File.dirname(@path)) end