From: "Wayne E. Seguin" Date: 2007-08-14T02:12:17+09:00 Subject: Re: Prototype (the real thing from Ara) problem. --Apple-Mail-1-412037878 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Aug 13, 2007, at 13:05 , ara.t.howard wrote: > On Aug 12, 2007, at 3:34 PM, Robert Dober wrote: > >> after my primitive research and my *very slow* implementation of >> Prototypes ... > > btw - i've learned something since my initial implementation: > > obj = Object.new.instance_eval do > > @var = 42 > > def method > @var > end > > self > end > > i was quite suprised that it worked - it would be interesting to > play with that in the context of a prototype impl. > > cheers. > > a @ http://drawohara.com/ What does the self at the end accomplish? ~Wayne s///g Wayne E. Seguin Sr. Systems Architect & Systems Administrator --Apple-Mail-1-412037878--