From ccb91c77c1b4cfafdd61476d50ce54e2627acf98 Mon Sep 17 00:00:00 2001 From: drbrain Date: Sun, 27 Aug 2006 22:25:08 +0000 Subject: Fix documentation submitted by Rick Ohnemus. ruby-Bugs-5529. [ruby-core:08725] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- file.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'file.c') diff --git a/file.c b/file.c index 00bc40cd7..195c9fdc3 100644 --- a/file.c +++ b/file.c @@ -1269,10 +1269,10 @@ test_z(VALUE obj, VALUE fname) /* * call-seq: - * File.file?(file_name) => integer or nil + * File.size?(file_name) => Integer or nil * - * Returns nil if file_name 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 -- cgit