General

Profile

maxtruc (Maxime Réty)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

08/11/2014

05:16 PM Ruby Bug #10125 (Closed): Array#sort and #sort! documentation issue
The documentation about the values that should be returned by the block is backwards.
a <=> b will return -1 if a is lower than b, i.e. b follows a (in the sorted array).
a <=> b will return 1 if a is greater than b, i.e. a follows b...
maxtruc (Maxime Réty)

Also available in: Atom