summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-31 02:21:07 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-31 02:21:07 +0000
commit18affefbe5e7d0d940e7f924b375c4bde00ac380 (patch)
treede7ba6e7438445334734e0291f4049fca48227b9
parente8e7e1aae2feb1de74add23dc9d97d60fb04d810 (diff)
documentation by @phiggins [GH fixes #263]
* file.c: Alias File #path and #to_path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/file.c b/file.c
index 2c35e346bc..de377d08bb 100644
--- a/file.c
+++ b/file.c
@@ -264,6 +264,7 @@ apply2files(void (*func)(const char *, VALUE, void *), VALUE vargs, void *arg)
/*
* call-seq:
* file.path -> filename
+ * file.to_path -> filename
*
* Returns the pathname used to create <i>file</i> as a string. Does
* not normalize the name.