method

split

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

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

See File.split.