Hello,
I am trying to call explicitly implemented interface method, but get
such error
undefined method `bar' for #<App::Cls:0x000005c>
C# code:
public interface IFoo
{
void Bar();
}
public class Cls : IFoo
{
void IFoo.Bar() { }
}
Ruby code:
x = App::Cls.new
x.bar
But this one works fine:
public class Cls : IFoo
{
public void Bar() { }
}
What is wrong?
- Alex
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core