method

split

v2_6_3 - Show latest stable - Class: Pathname
split()
public

Returns the #dirname and the #basename in an Array.

See File.split.