summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-21 12:10:17 (GMT)
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-21 12:10:17 (GMT)
commit6f53ea480a5a719538132f1fbf4d3f4563a3a98e (patch)
treea295b4d852b283ddfac21b02fe3944b79c1df06f /dir.c
parentfb69a117101e0185334be06abfc8c979b4282743 (diff)
* 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
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dir.c b/dir.c
index 8492ce7..4fe2c88 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)