You're right, it's not a palindrome. I feel like an idiot. I'd need to do
all the words for a comparison; in other words phrased, "Is there a word
out of the selection that is the reverse of my word." Yep, wasn't thinking.


On Thu, May 1, 2014 at 1:52 PM, Ryan Davis <ryand-ruby / zenspider.com> wrote:

>
> On May 1, 2014, at 11:10, Todd Benson <caduceass / gmail.com> wrote:
>
> > working = words.select {|w| w.length = 8}
> > working.include? 'stressed'
> > => true
> > working.include? 'desserts'
> > => true
> > palindrome = working.select {|w| w == w.reverse}
> > palindrome.empty?
> > => true
>
> Maybe I'm misunderstanding what you're trying to do... but stressed and
> desserts aren't palindromes...
>
>