1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* dir.c (Init_Dir): alias Dir#path to Dir#to_path. [ruby-core:25326]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2009-09-03 23:07:13 +00:00
parent 299d8fb1b7
commit 7a426e029a
2 changed files with 5 additions and 0 deletions

View file

@ -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]

1
dir.c
View file

@ -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);