summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-12 02:59:07 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-12 02:59:07 +0000
commit9ef4e13459c95922e7384194c90b91bf67dd785a (patch)
treee1bc78edb68a8498dd459df0e72abb9c5280c201 /dir.c
parentc37d5e7c778cad02c606cd90992743e8bb4a0185 (diff)
* array.c: Document synonymous methods, by windwiny [GH-277]
* bignum.c: ditto * complex.c: ditto * dir.c: ditto * encoding.c: ditto * enumerator.c: ditto * numeric.c: ditto * proc.c: ditto * re.c: ditto * string.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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.