From: Ari Brown Date: 2007-07-03T22:00:48+09:00 Subject: Re: LSRC Name Picker On Jul 3, 2007, at 8:55 AM, James Edward Gray II wrote: > > 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. I was trying this: @names = open('.names.txt', 'w+') in initialize, and then write to that file later on. Is there a better way to do this? > Hope that helps. It did! > James Edward Gray II Ari --------------------------------------------| If you're not living on the edge, then you're just wasting space.