From: Luu Trung Date: 2007-10-13T12:29:53+09:00 Subject: Re: range max Brian Adkins wrote: > On Oct 12, 10:42 pm, "ara.t.howard" wrote: >> On Oct 12, 2007, at 8:05 PM, Brian Adkins wrote: >> you code does not return the max, it returns the 'end', and >> incorrectly in some cases. > > Fixed now :) > >> any range/interval whose end > start *must* have size > 0. therefore >> the max cannot == start. i think you are confusing the concept of >> sequence with that of a range > > 1) Range#max is mixed in from Enumerable > 2) "When used as an iterator, ranges return each value in the > *sequence*." Pickaxe p. 597 > 3) An elephant's trunk feels different than its tail > 4) "range max conversation".max == this post File Not Found June 08, 2006 The file you were looking for could not be found. Attempted URL: /faq/rubyfaq.html It is possible that you typed the URL incorrectly or that you clicked on a bad link. -- Posted via http://www.ruby-forum.com/.