[Ironruby-core] Getting the .NET type of an IronRuby class

Dermot Hogan lists at ruby-forum.com
Sat Feb 9 13:42:40 EST 2008


Is there a simple way of getting the .NET type of an IronRuby class?

I have this code:

resources =
System::ComponentModel::ComponentResourceManager.new(X.class)

where X is a class. But this doesn't do it - I get a run time exception.


Any ideas?

Dermot
-- 
Posted via http://www.ruby-forum.com/.


More information about the Ironruby-core mailing list