From 6ac9fea36f3d41862702ad232749560fe26a4c61 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 13 Jan 2011 11:58:20 +0000 Subject: [PATCH] update doc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- dir.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dir.c b/dir.c index 2a98a9c667..65bc9a868d 100644 --- a/dir.c +++ b/dir.c @@ -944,6 +944,8 @@ dir_s_chroot(VALUE dir, VALUE path) * also the discussion of permissions in the class documentation for * File. * + * Dir.mkdir(File.join(Dir.home, ".foo"), 0700) #=> 0 + * */ static VALUE dir_s_mkdir(int argc, VALUE *argv, VALUE obj)