Hi Alex:

Try:

obj.methods
obj.public_methods
obj.private_methods

it will give you the list of all the methods available

(From the point of view of IronRuby, a .net object shows the methods

you would find

two methods for, one for set another for get of a variable,

for example, saying that you have a propety of the object called "name"

obj.name  (would return the actual setting for the variable (get) )

obj.name = "test".to_clr_string (would set the name in the .net object)

Note:
   .to_clr_string is important to convert the ruby string object to the 
corresponding clr object (System::String)

Regards,

Eduardo

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to