diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-03 23:07:13 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-03 23:07:13 +0000 |
| commit | b87b7c5a456a3fec8a0d2b4197e16212af926aa0 (patch) | |
| tree | 2c5fe97a1fa39b190102c75e3e8ac032b0e6d4ee | |
| parent | 235c2127f1272e3fe92759ac42be88c535c2e112 (diff) | |
| download | ruby-b87b7c5a456a3fec8a0d2b4197e16212af926aa0.tar.gz ruby-b87b7c5a456a3fec8a0d2b4197e16212af926aa0.tar.xz ruby-b87b7c5a456a3fec8a0d2b4197e16212af926aa0.zip | |
* dir.c (Init_Dir): alias Dir#path to Dir#to_path. [ruby-core:25326]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | dir.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Fri Sep 4 06:15:39 2009 Yukihiro Matsumoto <matz@ruby-lang.org> + + * dir.c (Init_Dir): alias Dir#path to Dir#to_path. [ruby-core:25326] + Fri Sep 4 04:49:39 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * random.c (random_rand): fixed rdoc. [ruby-core:25332] @@ -1968,6 +1968,7 @@ Init_Dir(void) rb_define_method(rb_cDir,"initialize", dir_initialize, -1); rb_define_method(rb_cDir,"path", dir_path, 0); + rb_define_method(rb_cDir,"to_path", dir_path, 0); rb_define_method(rb_cDir,"inspect", dir_inspect, 0); rb_define_method(rb_cDir,"read", dir_read, 0); rb_define_method(rb_cDir,"each", dir_each, 0); |
