diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-07 14:28:20 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-07 14:28:20 +0000 |
commit | 91669219efe42ec5cf57fe9f0634159838dd240b (patch) | |
tree | 57cd7855002c5e44f748b0a48e58f0bea8b44a8e /ChangeLog | |
parent | ea6b397daabe2b5092a9fa51b59e271d927cdffb (diff) | |
download | ruby-91669219efe42ec5cf57fe9f0634159838dd240b.tar.gz |
(Pathname#parent): if self is `.', return `..'.
(Pathname#children): if self is `.', don't prepend self for a
pathname in a result.
(Pathname#join): re-implemented using Pathname#+.
(Pathname#find): if self is `.', remove `./' prefix of yielding
pathname.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,7 +1,13 @@ -Fri Nov 7 12:50:28 2003 Tanaka Akira <akr@m17n.org> +Fri Nov 7 23:23:04 2003 Tanaka Akira <akr@m17n.org> * lib/pathname.rb (Pathname#+): if self or the argument is `.', return another. + (Pathname#parent): if self is `.', return `..'. + (Pathname#children): if self is `.', don't prepend self for a + pathname in a result. + (Pathname#join): re-implemented using Pathname#+. + (Pathname#find): if self is `.', remove `./' prefix of yielding + pathname. Fri Nov 7 10:23:24 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> |