I’m having the ruby class of following structure. I need to gets its
value using reflection that it need to get its value using Property
Descriptor or PropertyInfo collection. I can get this only when I use
the attributes. If I have the object without any attributes its
returning the public methods of the Ruby object. I need to get the
properties using Property Descriptor, when there is no attributes in the
Please share your Idea this is important for my project.
def name @name end def name=(n) @name = n end def age @age end def age=(a) @age = a end