[Proto-Scripty] Re: weird issue with .each and objects

2010-10-10 Thread T.J. Crowder
Hi, Your problem is in your Test class. You're creating an `options` object on the prototype of your class, which means that it will be *shared* by all instances of your class. Since your constructor is writing to properties on that shared object, naturally multiple calls to the constructor

[Proto-Scripty] Re: weird issue with .each and objects

2010-10-10 Thread Steven Albarracin
Thanks for your suggestions and recommendations... On Oct 10, 6:08 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi, Your problem is in your Test class. You're creating an `options` object on the prototype of your class, which means that it will be *shared* by all instances of your class.