# File lib/pathname.rb, line 659
  def basename(*args) Pathname.new(File.basename(@path, *args)) end