[前][次][番号順一覧][スレッド一覧]

ruby-changes:4315

From: ko1@a...
Date: Wed, 19 Mar 2008 20:25:59 +0900 (JST)
Subject: [ruby-changes:4315] nobu - Ruby:r15805 (ruby_1_8): * dir.c (Init_Dir): define inspect method.

nobu	2008-03-19 20:25:42 +0900 (Wed, 19 Mar 2008)

  New Revision: 15805

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/dir.c

  Log:
    * dir.c (Init_Dir): define inspect method.  [ruby-core:15960]


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=15805&r2=15804&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/dir.c?r1=15805&r2=15804&diff_format=u

Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 15804)
+++ ruby_1_8/ChangeLog	(revision 15805)
@@ -1,3 +1,7 @@
+Wed Mar 19 20:25:40 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* dir.c (Init_Dir): define inspect method.  [ruby-core:15960]
+
 Wed Mar 19 14:59:12 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* misc/ruby-style.el (ruby-style-{case,label}-indent): fix for labels
Index: ruby_1_8/dir.c
===================================================================
--- ruby_1_8/dir.c	(revision 15804)
+++ ruby_1_8/dir.c	(revision 15805)
@@ -1970,6 +1970,7 @@
 
     rb_define_method(rb_cDir,"initialize", dir_initialize, 1);
     rb_define_method(rb_cDir,"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);
     rb_define_method(rb_cDir,"rewind", dir_rewind, 0);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]