ruby-changes:12999
From: matz <ko1@a...>
Date: Fri, 4 Sep 2009 08:10:00 +0900 (JST)
Subject: [ruby-changes:12999] Ruby:r24744 (trunk): * dir.c (Init_Dir): alias Dir#path to Dir#to_path.
matz 2009-09-04 08:07:13 +0900 (Fri, 04 Sep 2009) New Revision: 24744 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24744 Log: * dir.c (Init_Dir): alias Dir#path to Dir#to_path. [ruby-core:25326] Modified files: trunk/ChangeLog trunk/dir.c Index: ChangeLog =================================================================== --- ChangeLog (revision 24743) +++ ChangeLog (revision 24744) @@ -1,3 +1,7 @@ +Fri Sep 4 06:15:39 2009 Yukihiro Matsumoto <matz@r...> + + * dir.c (Init_Dir): alias Dir#path to Dir#to_path. [ruby-core:25326] + Fri Sep 4 04:49:39 2009 Nobuyoshi Nakada <nobu@r...> * random.c (random_rand): fixed rdoc. [ruby-core:25332] Index: dir.c =================================================================== --- dir.c (revision 24743) +++ dir.c (revision 24744) @@ -1968,6 +1968,7 @@ 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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/