aboutsummaryrefslogtreecommitdiffstats
path: root/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index a069bb34df..e4c53fd607 100644
--- a/dir.c
+++ b/dir.c
@@ -544,6 +544,7 @@ dir_inspect(VALUE dir)
/*
* call-seq:
* dir.path -> string or nil
+ * dir.to_path -> string or nil
*
* Returns the path parameter passed to <em>dir</em>'s constructor.
*
@@ -732,7 +733,7 @@ dir_seek(VALUE dir, VALUE pos)
/*
* call-seq:
- * dir.pos( integer ) -> integer
+ * dir.pos = integer -> integer
*
* Synonym for <code>Dir#seek</code>, but returns the position
* parameter.