1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
drbrain 2006-08-27 22:25:08 +00:00
parent 0046f355c1
commit b963ffbf1d
2 changed files with 8 additions and 3 deletions

View file

@ -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

6
file.c
View file

@ -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