From: Brian Candler Date: 2010-03-12T23:07:53+09:00 Subject: Re: Why dosnt this work > it's the 'def showclasses' part that causes me problems. The loop dosnt > work for some reason and I dont get why : / Add some 'puts' or 'p' statements to your code in strategic places, e.g. just before, inside, and after the loop. p klass p pupils p klassanswer etc. ('p foo' is short for 'puts foo.inspect') -- Posted via http://www.ruby-forum.com/.