From: Chris Pelow Date: 2009-11-25T08:46:18+09:00 Subject: Re: Help with each_with_index method Chris Pelow wrote: > Still getting this error at runtime however > > > > s/Person2.rb:22:in `full_name': undefined method `empty?' for > nil:NilClass (NoMethodError) > tware Patterns/Person2.rb:41 > tware Patterns/Person2.rb:43:in `each_with_index' > tware Patterns/Person2.rb:40:in `each' > tware Patterns/Person2.rb:40:in `each_with_index' > tware Patterns/Person2.rb:40 Never mind I got it working. Thanks a million for your help guys! :) -- Posted via http://www.ruby-forum.com/.