summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-27 22:25:08 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-27 22:25:08 +0000
commitccb91c77c1b4cfafdd61476d50ce54e2627acf98 (patch)
tree23291d1743e46c0746d62c102911b7a72ea451b2
parentfc0e3d42e30bd632e8c9b36adf0ee36afae0ae59 (diff)
downloadruby-ccb91c77c1b4cfafdd61476d50ce54e2627acf98.tar.gz
ruby-ccb91c77c1b4cfafdd61476d50ce54e2627acf98.tar.xz
ruby-ccb91c77c1b4cfafdd61476d50ce54e2627acf98.zip
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
-rw-r--r--ChangeLog5
-rw-r--r--file.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 9d59acde0..dd9b91a22 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Aug 28 07:21:47 2006 Eric Hodel <drbrain@segment7.net>
+
+ * 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 <sndgk393 AT ybb.ne.jp>
* oniguruma.h: Version 4.4.0
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 <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