From: James Edward Gray II Date: 2007-07-03T21:55:34+09:00 Subject: Re: LSRC Name Picker On Jul 3, 2007, at 2:07 AM, Ari Brown wrote: > I seem to get this error whenever I run my program. > > -----------------------------------------------------------| > ERROR > -----------------------------------------------------------| > namePicker-cli.rb:58: syntax error, unexpected '{', expecting kEND > @names { |f| lines = f.readlines > ^ > namePicker-cli.rb:60: syntax error, unexpected '}', expecting kEND > -----------------------------------------------------------| > What does this mean? It's Ruby's way of telling you that your code doesn't make sense. Basically, you are defining a block for an instance variable here, but only methods can take blocks in Ruby. I assume you meant to call some iterator and forgot to include the method name. Hope that helps. James Edward Gray II