mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 17:14:01 +02:00
merge revision(s) 39418:
* array.c: Document #<=> return values and formatting * bignum.c: ditto * file.c: ditto * object.c: ditto * numeric.c: ditto * rational.c: ditto * string.c: ditto * time.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fa4e355e57
commit
9fcf2f8f4b
10 changed files with 74 additions and 41 deletions
6
file.c
6
file.c
|
@ -326,8 +326,10 @@ static struct timespec stat_mtimespec(struct stat *st);
|
|||
* call-seq:
|
||||
* stat <=> other_stat -> -1, 0, 1, nil
|
||||
*
|
||||
* Compares <code>File::Stat</code> objects by comparing their
|
||||
* respective modification times.
|
||||
* Compares File::Stat objects by comparing their respective modification
|
||||
* times.
|
||||
*
|
||||
* +nil+ is returned if the two values are incomparable.
|
||||
*
|
||||
* f1 = File.new("f1", "w")
|
||||
* sleep 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue