From: Michael Witrant Date: 2001-11-03T14:11:56+09:00 Subject: [ruby-talk:24248] [ANN] Path v0.3.0 Hello, I've just released the version 0.3.0 of the Path class. Home page: http://www.lepton.fr/ruby/path Download: http://www.lepton.fr/ruby/path/path-0.3.0.tar.gz RAA entry: http://www.ruby-lang.org/en/raa-list.rhtml?name=Path This class regroups all builtin Ruby methods related to path names, like File::exist?, File::open, Dir::entries, File::Stat#readable?, etc. ChangeLog since 0.2.0: - Minor bugfixes and improvements - Updated join: ensure no path separator is duplicated (see test unit or doc) - Documentation! - Changed mkdir, rmdir and delete to take optional arguments: the entry/ies to affect in the directory. ie: Path['foo'].mkdir('bar') will create the directory 'foo/bar'. - Some tests added - README - Added line number in evals - new #rmtree method - changed #foreach to yield entries containing the calling path TODO (probably in next release): - Path#relative to retreive the relative path between 2 paths ruby-talk:20581, ruby-talk:20666 - A #delete! method, similar to #rmtree except it does nothing if the path doesn't exist - Change #copy, #link, #rename, ... to accept an entry name like #mkdir Any feedback is welcome. Mike.