Skip to content
instance method

Pathname#split

() -> [ ::Pathname, ::Pathname ]
split

See File.split. Returns the dirname and the basename in an Array.

See also #socket? #stat #size? #sticky? also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0