From: Max Williams Date: 2009-07-24T18:47:02+09:00 Subject: Re: Methods depend on pairs of objects - best parctise pls? Max Williams wrote: > Max Williams wrote: > >> return string_array_proximity > oops this should have been > return string_array_proximity(self, other) > > You get the idea anyway. oh and in case you don't have a string comparison method yet there's a nice gem called amatch which implements many different string proximity algorithms, eg levenshtein distance etc. -- Posted via http://www.ruby-forum.com/.