Re: [Ironruby-core] Dynamic Binding fails if abstract event not implemented

2009-06-23 Thread Kevin Radcliffe
Ivan Porto carrero wrote: > I've been meaning to ask this for a while now. > Can I implement an event that is defined on an interface because > whichever > way I try it just won't work. > > public interface IHaveAnEvent { event EventHandler SomeEvent; } > > class EventImplementor > include IHa

Re: [Ironruby-core] Dynamic Binding fails if abstract event not implemented

2009-06-23 Thread Ivan Porto Carrero
I've been meaning to ask this for a while now. Can I implement an event that is defined on an interface because whichever way I try it just won't work. public interface IHaveAnEvent { event EventHandler SomeEvent; } class EventImplementor include IHaveAnEvent # what now? I can't find any tes

Re: [Ironruby-core] Dynamic Binding fails if abstract event not implemented

2009-06-23 Thread Xerxes Battiwalla
June 22, 2009 10:43 PM > To: ironruby-core@rubyforge.org > Subject: Re: [Ironruby-core] Dynamic Binding fails if abstract event not > implemented > > great - thanks for the follow up, Tomas. > > Is there a workaround we could use in the meantime? Really keen to get > Cucumber

Re: [Ironruby-core] Dynamic Binding fails if abstract event not implemented

2009-06-22 Thread Tomas Matousek
, June 22, 2009 10:43 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Dynamic Binding fails if abstract event not implemented great - thanks for the follow up, Tomas. Is there a workaround we could use in the meantime? Really keen to get Cucumber going ;) -Xerx On Tue, Jun 23

Re: [Ironruby-core] Dynamic Binding fails if abstract event not implemented

2009-06-22 Thread Xerxes Battiwalla
?WorkItemId=1628. > > Tomas > > -Original Message- > From: ironruby-core-boun...@rubyforge.org > [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Xerxes Battiwalla > Sent: Monday, June 22, 2009 9:04 PM > To: ironruby-core@rubyforge.org > Subject: [Ironruby-c

Re: [Ironruby-core] Dynamic Binding fails if abstract event not implemented

2009-06-22 Thread Tomas Matousek
PM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Dynamic Binding fails if abstract event not implemented Hi - I've just downloaded the latest IR source from GitHub and have a problem with what looks like a regression from v0.4. We have an interface defining an event which is impleme

[Ironruby-core] Dynamic Binding fails if abstract event not implemented

2009-06-22 Thread Xerxes Battiwalla
Hi - I've just downloaded the latest IR source from GitHub and have a problem with what looks like a regression from v0.4. We have an interface defining an event which is implemented by an abstract class in C#. In Ruby, we create an implementation of the abstract class and call only a subset of me