I'm not entirely sure I understand the problem, but "Initialize" is the one CLR method name that we don't mangle. Is this a Ruby class that you've derived from an XNA type or just the XNA type directly?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabriel Rotar Sent: Wednesday, November 19, 2008 1:53 PM To: [email protected] Subject: Re: [Ironruby-core] Xna+IronRuby+RubyNewb=headache Everything works great Made a little c# loader app to hide all of the require and include statements. Orion Edwards wrote: > ... and constructors are always def initialize, not def ClassName There is a problem in the fact that Xna has a function that is called every time the graphics device is lost(ex:alt+tab) and then returned witch is called Initialize() this function is basically responsible for initializing the main GraphisDevice object. Is there a way to call this function? -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
