On 6/17/07, danielj / sleepingindian.org <danielj / sleepingindian.org> wrote:
>
> Here is my code for the "array program"  from chapter 7 and the
> challenge is to now adapt the program to have the same output without
> using the "sort" method.
>
> I have no idea where to even start. I think we are supposed to iterate
> over the array somehow but have no clue. Anybody got a hint for me?
>

I haven't read that tutorial so I don't know what he is expecting you to try.
But, here is a hint for something you could do.

arr = ["foo","bar","arrays are cool","rock"]
p arr.min

Harry

-- 

A Look into Japanese Ruby List in English
http://www.kakueki.com/