method

pathmap_partial

v2_2_9 - Show latest stable - Class: String
pathmap_partial(n)
public

Extract a partial path from the path. Include n directories from the front end (left hand side) if n is positive. Include |n| directories from the back end (right hand side) if n is negative.

This String extension comes from Rake