[Ironruby-core] Misleading error message calling private method
Alex 2k8
lists at ruby-forum.com
Fri Jan 9 10:55:26 EST 2009
Hello,
IronRuby throws misleading error message, when I call private method of
the C# class.
- - - -
C#
public class Cls {
private void private_method() {}
}
Ruby:
Cls.new.private_method
Output:
#<ArgumentError: wrong number or type of arguments for
`private_method'>
- - - -
- Alex.
--
Posted via http://www.ruby-forum.com/.
More information about the Ironruby-core
mailing list