From b963ffbf1daa3a5117bf1c3e9d9c2c2351d3da5e Mon Sep 17 00:00:00 2001 From: drbrain Date: Sun, 27 Aug 2006 22:25:08 +0000 Subject: [PATCH] Fix documentation submitted by Rick Ohnemus. ruby-Bugs-5529. [ruby-core:08725] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ file.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9d59acde0c..dd9b91a223 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Aug 28 07:21:47 2006 Eric Hodel + + * file.c (File#size?): Fix documentation submitted by Rick Ohnemus. + ruby-Bugs-5529. [ruby-core:08725] + Sun Aug 27 21:41:23 2006 K.Kosako * oniguruma.h: Version 4.4.0 diff --git a/file.c b/file.c index 00bc40cd7f..195c9fdc32 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