method

basename

v1_9_3_392 - Show latest stable - Class: Pathname
basename(p1 = v1)
public

See File.basename. Returns the last component of the path.