mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c: Documentation: change => in call-seq to ->.
Harmonize "#=>" in examples. [ruby-core:30206] * bignum.c: ditto * class.c: ditto * compar.c: ditto * cont.c: ditto * dir.c: ditto * encoding.c: ditto * enum.c: ditto * enumerator.c: ditto * error.c: ditto * eval.c: ditto * file.c: ditto * gc.c: ditto * io.c: ditto * load.c: ditto * marshal.c: ditto * math.c: ditto * numeric.c: ditto * object.c: ditto * pack.c: ditto * proc.c: ditto * process.c: ditto * random.c: ditto * range.c: ditto * re.c: ditto * ruby.c: ditto * signal.c: ditto * sprintf.c: ditto * string.c: ditto * struct.c: ditto * thread.c: ditto * time.c: ditto * transcode.c: ditto * variable.c: ditto * vm_eval.c: ditto * vm_method.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e181ae5391
commit
7729de4d91
36 changed files with 1335 additions and 1335 deletions
12
compar.c
12
compar.c
|
|
@ -49,7 +49,7 @@ cmp_failed(void)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* obj == other => true or false
|
||||
* obj == other -> true or false
|
||||
*
|
||||
* Compares two objects based on the receiver's <code><=></code>
|
||||
* method, returning true if it returns 0. Also returns true if
|
||||
|
|
@ -69,7 +69,7 @@ cmp_equal(VALUE x, VALUE y)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* obj > other => true or false
|
||||
* obj > other -> true or false
|
||||
*
|
||||
* Compares two objects based on the receiver's <code><=></code>
|
||||
* method, returning true if it returns 1.
|
||||
|
|
@ -86,7 +86,7 @@ cmp_gt(VALUE x, VALUE y)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* obj >= other => true or false
|
||||
* obj >= other -> true or false
|
||||
*
|
||||
* Compares two objects based on the receiver's <code><=></code>
|
||||
* method, returning true if it returns 0 or 1.
|
||||
|
|
@ -103,7 +103,7 @@ cmp_ge(VALUE x, VALUE y)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* obj < other => true or false
|
||||
* obj < other -> true or false
|
||||
*
|
||||
* Compares two objects based on the receiver's <code><=></code>
|
||||
* method, returning true if it returns -1.
|
||||
|
|
@ -120,7 +120,7 @@ cmp_lt(VALUE x, VALUE y)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* obj <= other => true or false
|
||||
* obj <= other -> true or false
|
||||
*
|
||||
* Compares two objects based on the receiver's <code><=></code>
|
||||
* method, returning true if it returns -1 or 0.
|
||||
|
|
@ -137,7 +137,7 @@ cmp_le(VALUE x, VALUE y)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* obj.between?(min, max) => true or false
|
||||
* obj.between?(min, max) -> true or false
|
||||
*
|
||||
* Returns <code>false</code> if <i>obj</i> <code><=></code>
|
||||
* <i>min</i> is less than zero or if <i>anObject</i> <code><=></code>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue