diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | file.c | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Mon Aug 28 07:25:45 2006 Eric Hodel <drbrain@segment7.net> + + * 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 <tadf@dotrb.org> * lib/date.rb, lib/date/format.rb: updated based on date2 3.8.2. @@ -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 |