[Ironruby-core] IsRubyMethod

Tomas Matousek Tomas.Matousek at microsoft.com
Tue Jul 14 16:42:29 EDT 2009


It's called IsRubyMember now and it's an internal property on RubyMemberInfo.
Would it help to expose it on Method and UnboundMethod? It could be called e.g. "clr_member?".
What would be the use case for such a method?

Tomas

-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Shay Friedman
Sent: Tuesday, July 14, 2009 1:33 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] IsRubyMethod

I thought it would be a smooth way of figuring out whether a method is a pure Ruby one or a CLR one.

I found the post I was talking about (look at the last paragraph): 
http://www.ruby-forum.com/topic/189940

I guess it was removed somewhere along the way.

Thanks!
Shay.

----------------------------
Shay Friedman
http://www.ironshay.com
Follow me: http://twitter.com/ironshay
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core



More information about the Ironruby-core mailing list