From: Catsquotl Date: 2012-02-22T02:52:12+09:00 Subject: cheered to soon...... enumerable woos hi, what i'd like to do is let my each method yield aal instance variables from my class include enumerable to have the ability to test if self.include? yields true or not.. My instance_variables however are mostly string objects with one Array. the array holds one or more strings I cannot get .include? to work propperly. it wil return false even though the array members hold the substring. anyone? say each is def each yield "#{var1}" yield "#{var2}" end where var2 is an Array def search str self.inlude? str end the search method always returns false even if var2 holds the str. str is not always the whole string member of the array could be just a part of it. say one word from a multi word string.. Eelco