[fxruby-users] Inheritance

Uwe Hartl uwe.hartl at gmx.net
Thu Feb 9 16:21:57 EST 2006


Thank you very much and sorry for forgetting the cc.
Understood. I think I don't care about the Data instantiation, since the 
classes (DataFixNum, DataTime) inherit from a common base class which 
provides a common "interface" for both. So lets be the Data class of 
temporary nature.

Uwe
> > Is there a particular reason why I should not use "new" here instead of
> > "self.new_from_value(d)" as you suggested?
>
> You could do that too. I guess it would prevent actually instantiating
> the base class, Data, but that may be ok.



More information about the fxruby-users mailing list