Skip to content

Commit cb49572

Browse files
authored
Give more details about extra methods in Path
1 parent a2be2f9 commit cb49572

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
[![CI](https://github.com/eregon/path/actions/workflows/ci.yml/badge.svg)](https://github.com/eregon/path/actions/workflows/ci.yml)
55

66
[Path](http://rubydoc.info/github/eregon/path/master/Path) is a library to manage paths.
7-
It is similar to Pathname, but has some extra goodness.
7+
It is similar to Pathname, but has some extra goodness, notably more than 50 extra methods.
8+
Pathname only exposes a subset of `File`, `Dir` and `FileUtils` but Path exposes most of them.
89
The method names are intended to be short and explicit, and avoid too much duplication like having 'name' or 'path' in the method name.
910

1011
I believe the object-oriented approach to manipulate paths is very elegant and useful.

0 commit comments

Comments
 (0)