[Ironruby-core] Xna+IronRuby+RubyNewb=headache

Gabriel Rotar lists at ruby-forum.com
Mon Dec 15 14:41:24 EST 2008

As you say "Initialize" is different from "initialize"
so I have the the constructor:

 def initialize
 graphics = GraphicsDeviceManager.new self

witch works
and then i have the Initialize procedure

 def Initialize

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

More information about the Ironruby-core mailing list