summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dir.c2
1 files changed, 2 insertions, 0 deletions
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
* <code>File</code>.
*
+ * Dir.mkdir(File.join(Dir.home, ".foo"), 0700) #=> 0
+ *
*/
static VALUE
dir_s_mkdir(int argc, VALUE *argv, VALUE obj)