[Ironruby-core] Range#=== operator
John Lam (DLR)
jflam at microsoft.com
Wed Nov 14 11:42:46 EST 2007
Peter Bacon Darwin:
> Would it be fair to follow this as a general rule: when coding Ruby
> in C#, if you are calling code that is exposed as a method or operator
> in a
> Ruby class or module then invoke it via a DynamicSite, if it is purely
> private code to the C# method then call it directly?
Yes. But since we alias types it's sometimes not blindingly obvious that you'll need a site. The good news is that the specs do a very good job at catching cases where there's some observable behavior.
More information about the Ironruby-core