From 4b260c869f3ec4acea9729b3387be26b5f8c6a94 Mon Sep 17 00:00:00 2001 From: drbrain Date: Sun, 27 Aug 2006 22:30:48 +0000 Subject: Fix documentation submitted by Rick Ohnemus. ruby-Bugs-5529. [ruby-core:08725] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ file.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6759d7e25..c31c9fc9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Aug 28 07:25:45 2006 Eric Hodel + + * file.c (File#size?): Fix documentation submitted by Rick Ohnemus. + ruby-Bugs-5529. [ruby-core:08725] + Sat Aug 26 08:07:13 2006 Tadayoshi Funaba * lib/date.rb, lib/date/format.rb: updated based on date2 3.8.2. diff --git a/file.c b/file.c index 544604c7f..ac7b548db 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 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