Skip to content

Commit

Permalink
* dir.c: Add example for Dir.pwd in Dir.getwd doc by @jasonrclark [fix
Browse files Browse the repository at this point in the history
…rubyGH-504]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
hsbt committed Jan 21, 2014
1 parent 5dabe8d commit 193a46b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dir.c
Expand Up @@ -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)
Expand Down

0 comments on commit 193a46b

Please sign in to comment.