21 Dec
2009
21 Dec
'09
08:49
On Monday 21 December 2009 16:48:02 Marcus Rueckert wrote:
well i believe you that printing out the default value works, as it should. but setting the value for test_c saves the value in an *instance* variable of the Class object. :)
darix
Right, actually: TestD.test_c = 2 puts TestD.test_c puts TestF.test_c output: 2 nil same effect. I warned you time ago! http://twitter.com/dmacvicar/status/6443921461 :-P -- Duncan Mac-Vicar P. - Engineering Manager, YaST SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-ruby+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-ruby+help@opensuse.org