From: Seebs Date: 2010-01-14T13:30:07+09:00 Subject: Re: Instance Variable On 2010-01-12, BlueHandTalking wrote: > If you have a class 'Thing' > > does name of instance variable have to be: > > @thing = Thing.new > > or is > > @widget = Thing.new > > O.k. to use? How far do you think you'd get if you could only use "@fixnum" for numeric values used as instance variables? For that matter, what name would you give to an instance variable that might, like any other variable in the language, hold different types of objects in different contexts? In short, the name is purely up to you. -s -- Copyright 2010, all wrongs reversed. Peter Seebach / usenet-nospam@seebs.net http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!