On Sat, Oct 25, 2008 at 12:20 AM, Pit Capitain <pit.capitain / gmail.com> wrote: > 2008/10/24 Me Me <emanuelef / tiscali.it>: >> I though it was something already implemented inside ruby, I guess the >> same for MIN, MAX Another way is to use sorting: [min, val, max].sort[1]