On Fri, Nov 13, 2009 at 1:06 PM, Shay Friedman <[email protected]>wrote:
> I guess you can do that in two ways.
>
> The first one is to add a statement in Ruby code:
>
> class Object
> def mymethod(str)
> MyCSharpClass.mymethod(str)
> end
> end
>
>
Maybe I'm missing something, but shouldn't that be:
def mymethod(str)
MyCSharpClass*::*mymethod(str) # Use '::' instead of '.'?
end
Ryan Riley
Email: [email protected]
LinkedIn: http://www.linkedin.com/in/ryanriley
Blog: http://wizardsofsmart.net/
Website: http://panesofglass.org/
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core