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

Dermot Hogan
2008-02-09T18:42:40Z

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/.