From: Thufir Date: 2007-10-27T20:07:24+09:00 Subject: Re: find all member in a class On Fri, 26 Oct 2007 20:58:01 +0900, Rick DeNatale wrote: > class A > def i > @i ||= 42 > end Some rudimentary explanation please: the def is to define a method? it's a coincidence that the method name is "i" and the instance variable has the same name, "I"? the third line declares an instance variable, "i", what do the "||" do in that line, please? thanks, Thufir