From: Blake Miller Date: 2006-12-02T05:07:33+09:00 Subject: Re: Simple iteration in a function problem I think perhaps the problem is how I'm comparing strings. What is the proper way to compare two strings, like: @str1 = "boo" def meth(str) if( @str1 == str ) end meth("boo") Is that the appropriate way to compare them? -- Posted via http://www.ruby-forum.com/.