summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-27 22:30:48 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-27 22:30:48 +0000
commit696a5a05728eb42e824d423c6d0b13ef573de734 (patch)
treeaf29c524ed64cb4b99ed996fdb947fb95e5c6127 /file.c
parentf5994175269c42ead103993111e334d26234f244 (diff)
downloadruby-696a5a05728eb42e824d423c6d0b13ef573de734.tar.gz
Fix documentation submitted by Rick Ohnemus. ruby-Bugs-5529. [ruby-core:08725]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/file.c b/file.c
index 544604c7fa..ac7b548dbf 100644
--- a/file.c
+++ b/file.c
@@ -1263,10 +1263,10 @@ test_z(obj, fname)
/*
* call-seq:
- * File.file?(file_name) => integer or nil
+ * File.size?(file_name) => Integer or nil
*
- * Returns <code>nil</code> if <code>file_name</code> doesn't
- * exist or has zero size, the size of the file otherwise.
+ * Returns +nil+ if +file_name+ doesn't exist or has zero size, the size of the
+ * file otherwise.
*/
static VALUE