From: "David A. Black" Date: 2005-03-25T20:42:18+09:00 Subject: Re: Understanding instance variables --927295978-997283620-1111750917=:23330 Content-Type: MULTIPART/MIXED; BOUNDARY="927295978-997283620-1111750917=:23330" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --927295978-997283620-1111750917=:23330 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Hi -- On Fri, 25 Mar 2005, Bertram Scharpf wrote: > Hi, > > Am Freitag, 25. M=E4r 2005, 09:30:01 +0900 schrieb David A. Black: >> On Fri, 25 Mar 2005, Bertram Scharpf wrote: >>> >>> c's Singleton < C < Object >>> >>> can have their own instance variables. >>> >>>>> c=3Dclass C ; self ; end.new >>>>> s=3Dclass << C ; self ; end >> >> Did you mean class << c ? (You had mentioned c's singleton class.) >> But either way... > > Eh, what's the difference? As examples of the "every object can have i.variables" principle, no difference. But c's singleton and C's singleton are completely different objects. David --=20 David A. Black dblack@wobblini.net --927295978-997283620-1111750917=:23330-- --927295978-997283620-1111750917=:23330--