[Ironruby-core] Getting property list from both Ruby and .Net objects
lists at ruby-forum.com
Thu Sep 27 18:12:12 UTC 2012
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)
.to_clr_string is important to convert the ruby string object to the
corresponding clr object (System::String)
Posted via http://www.ruby-forum.com/.
More information about the Ironruby-core