Mailinglist Archive: opensuse-ruby (15 mails)

< Previous Next >
Re: [opensuse-ruby] HelpNeeded: ActiveResource and transitive inheritance
  • From: "Duncan Mac-Vicar Prett" <dmacvicar@xxxxxxx>
  • Date: Mon, 21 Dec 2009 17:49:46 +0100
  • Message-id: <200912211749.46653.dmacvicar@xxxxxxx>
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. :)


Right, actually:

TestD.test_c = 2
puts TestD.test_c
puts TestF.test_c


same effect. I warned you time ago! :-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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-ruby+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups