From: Hal Fulton Date: 2004-03-05T05:04:02+09:00 Subject: Re: dynamic assignment of instance variables Mark Hubbart wrote: > Why not store it in the number itself? > > >> 23.instance_eval{@prime = true} > => true > >> 24.instance_eval{@prime = false} > => false > >> 23.instance_eval{@prime} > => true > >> 24.instance_eval{@prime} > => false > > Or were you meaning persistant storage, so that it would be available to > other interpreters? When did this start working? :) This seems to be a good step toward singletons for Fixnums (unless those are already working also, and I haven't noticed). Hal