Re: [Ironruby-core] Deriving from framework class with Initialize method

2008-09-07 Thread Tomas Matousek
PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Deriving from framework class with Initialize method Interesting. What do you think should happen when a CLS type has a method whose name collides with a "special" Ruby method name like "initialize" or "

Re: [Ironruby-core] Deriving from framework class with Initialize method

2008-09-07 Thread Curt Hagenlocher
September 07, 2008 12:11 PM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Deriving from framework class with Initialize method Hi guys, I was trying to run the following code: class MyObj < DependencyObject end obj = MyObj.new Where DepenencyObject comes from the WPF stack (W

[Ironruby-core] Deriving from framework class with Initialize method

2008-09-07 Thread Stefan Dobrev
Hi guys, I was trying to run the following code: *class MyObj < DependencyObject end obj = MyObj.new* Where DepenencyObject comes from the WPF stack (WindowsBase.dll). However this fails on the *MyObj.new* line with strange error that wrong arguments or types are passed to initialize method. Af