I've already posted about this issue weeks ago. I was playing iwth XNA too.
The IronRuby it's not passing correctly the parameters for the super class methods. 2008/12/15 Gabriel Rotar <[email protected]>: > As you say "Initialize" is different from "initialize" > so I have the the constructor: > > def initialize > graphics = GraphicsDeviceManager.new self > super > end > > witch works > and then i have the Initialize procedure > > def Initialize > super > end > > witch manages the actual 3d viewport, it is called every time the 3d > viewport needs reinitialization(like an ALT+TAB) when I try to run the > script I get: > " wrong number or type of arguments for `Initialize' " > the thing is Initialize doesn't have any parameters, is it still being > treated as a constructor? > -- > 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
