mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
squeeze space [ci skip]
This commit is contained in:
parent
7f79a86d8b
commit
69509df2f4
1 changed files with 1 additions and 1 deletions
2
enum.c
2
enum.c
|
@ -1221,7 +1221,7 @@ sort_by_cmp(const void *ap, const void *bp, void *data)
|
|||
* sorted = Dir["*"].sort_by { |f| test(?M, f) }
|
||||
* sorted #=> ["mon", "tues", "wed", "thurs"]
|
||||
*
|
||||
* To produce the reverse of a specific order, the following can be used:
|
||||
* To produce the reverse of a specific order, the following can be used:
|
||||
*
|
||||
* ary.sort_by { ... }.reverse!
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue