= private = protected
basename(*args)
See File.basename. Returns the last component of the path.
# File lib/pathname.rb, line 823 def basename(*args) self.class.new(File.basename(@path, *args)) end