K
Kilivor Kante
Hi!
First sorry I am a beginner ;-( What I want to do is: automatically
instantiate subclasses of a given class, say, A.
class A
end
class A1 < A
end
class A2 <A
end
So I want to know the names of A subclasses: A1 and A2. Then instantiate
via reflection. Is it possible?
Using ObjectSpace it is possible to know all the instantiated objects of
a class. But here no objects yet.
Thanks a lot.
First sorry I am a beginner ;-( What I want to do is: automatically
instantiate subclasses of a given class, say, A.
class A
end
class A1 < A
end
class A2 <A
end
So I want to know the names of A subclasses: A1 and A2. Then instantiate
via reflection. Is it possible?
Using ObjectSpace it is possible to know all the instantiated objects of
a class. But here no objects yet.
Thanks a lot.