Hi all,

I've just started my journey as a ruby developer, and I'm going through
a couple of exercises that one of my professors sent me, to allow me
figure out the syntax. It's not for an assignment, merely for practice
(I need it). My code looks like Java, it's not elegant, it's slow, but
little by little, right?

I'm having a problem with my code. It's attached, and if someone could
look at it, that would be great. I can't figure out what I'm doing
wrong. I think it's something wrong with my for loop. Basically, the
code is supposed to find "spies" for all the entries, but someone cannot
"spy" on a person with their same last name, or themselves. The goal is
to print the list of spies all out. Thank you in advance!

Attachments:
http://www.ruby-forum.com/attachment/4862/exercise.rar

-- 
Posted via http://www.ruby-forum.com/.