Bugs item #5529, was opened at 2006-08-25 16:41
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=5529&group_id=426

Category: Documentation
Group: 1.8.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Rick Ohnemus (joast)
Assigned to: Nobody (None)
Summary: error in test_s (File.size?) documentation in file.c

Initial Comment:
The calling sequence in the documentation for test_s (File.size?) is incorrect.

Current:
/*
 * call-seq:
 *    File.file?(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.
 */

Corrected:
/*
 * call-seq:
 *    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.
 */

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=5529&group_id=426