Ruby latest stable (v2_5_5) - 0 notes - Class: String

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

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

Show source
Register or log in to add new notes.