hi All,
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
object.
Please share your Idea this is important for my project.
Thanks.
Sri
Class Structure
class Person
def name
@name
end
def name=(n)
@name = n
end
def age
@age
end
def age=(a)
@age = a
end
end
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core