From 6f53ea480a5a719538132f1fbf4d3f4563a3a98e Mon Sep 17 00:00:00 2001 From: hsbt Date: Tue, 21 Jan 2014 12:10:17 +0000 Subject: [PATCH] * dir.c: Add example for Dir.pwd in Dir.getwd doc by @jasonrclark [fix GH-504] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- dir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dir.c b/dir.c index 8492ce78d0..4fe2c8832f 100644 --- a/dir.c +++ b/dir.c @@ -906,6 +906,7 @@ rb_dir_getwd(void) * * Dir.chdir("/tmp") #=> 0 * Dir.getwd #=> "/tmp" + * Dir.pwd #=> "/tmp" */ static VALUE dir_s_getwd(VALUE dir)