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

ruby-changes:32598

From: hsbt <ko1@a...>
Date: Tue, 21 Jan 2014 21:10:20 +0900 (JST)
Subject: [ruby-changes:32598] hsbt:r44677 (trunk): * dir.c: Add example for Dir.pwd in Dir.getwd doc by @jasonrclark [fix GH-504]

hsbt	2014-01-21 21:10:17 +0900 (Tue, 21 Jan 2014)

  New Revision: 44677

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44677

  Log:
    * dir.c: Add example for Dir.pwd in Dir.getwd doc by @jasonrclark [fix GH-504]

  Modified files:
    trunk/dir.c
Index: dir.c
===================================================================
--- dir.c	(revision 44676)
+++ dir.c	(revision 44677)
@@ -906,6 +906,7 @@ rb_dir_getwd(void) https://github.com/ruby/ruby/blob/trunk/dir.c#L906
  *
  *     Dir.chdir("/tmp")   #=> 0
  *     Dir.getwd           #=> "/tmp"
+ *     Dir.pwd             #=> "/tmp"
  */
 static VALUE
 dir_s_getwd(VALUE dir)

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

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