# File lib/fakefs/pathname.rb, line 767 def basename(*args) self.class.new(File.basename(@path, *args)) end