Hi,
I'm trying to mixin a C# interface into a ruby class, in order to use it as
a mock.
My Ruby class :
class MockFoo
include IFoo
end
The C# interface :
public interface IFoo {
T Get(); // this is OK
IEnumerable GetAll(); // this fails
}
When calling MockFoo.new, I get the following e
As far as I can tell, this is simply not supported. I don't know the
reason why.
My guess is that when calling Get, IronRuby has to do some work to
figure out what the return value of T should be.
When calling GetAll, There's even more work that has to be done to
propagate the T back into IEnum