From: Brad Tilley Date: 2006-10-31T22:15:35+09:00 Subject: array of integers What is the best way to get determine the largest and smallest int in an array of ints? For example: x = [1,2,3,4] x.smallest should = 1 x.largest should = 4 How is this done in Ruby? Thank you, Brad -- Posted via http://www.ruby-forum.com/.