mirror of
https://github.com/ruby/ruby.git
synced 2026-10-29 08:55:35 +08:00
squeeze space [ci skip]
This commit is contained in:
1 file changed
+1
-1
@@ -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!
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user