Bug #10125 » 0001-array.c-Fixing-documentation-about-comparisons-in-so.patch
array.c | ||
---|---|---|
* or using an optional code block.
|
||
*
|
||
* The block must implement a comparison between +a+ and +b+, and return
|
||
* +-1+, when +a+ follows +b+, +0+ when +a+ and +b+ are equivalent, or ++1+
|
||
* if +b+ follows +a+.
|
||
* +-1+ when +b+ follows +a+, +0+ when +a+ and +b+ are equivalent, or ++1+
|
||
* if +a+ follows +b+.
|
||
*
|
||
* See also Enumerable#sort_by.
|
||
*
|
||
... | ... | |
* or using an optional code block.
|
||
*
|
||
* The block must implement a comparison between +a+ and +b+, and return
|
||
* +-1+, when +a+ follows +b+, +0+ when +a+ and +b+ are equivalent, or ++1+
|
||
* if +b+ follows +a+.
|
||
* +-1+ when +b+ follows +a+, +0+ when +a+ and +b+ are equivalent, or ++1+
|
||
* if +a+ follows +b+.
|
||
*
|
||
*
|
||
* See also Enumerable#sort_by.
|