mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
fb69a11710
commit
6f53ea480a
1 changed files with 1 additions and 0 deletions
1
dir.c
1
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)
|
||||
|
|
Loading…
Reference in a new issue