Gerald Boersma wrote:
Y'all:
In order to fix defect #3870, I need a check to see if a class is
"built-in". In the implementation of Ruby, there is a concept of a
"built-in" class. This is held in flags that are carried around with the
class information. As far as I can tell, this applies to Object, Class,
Module, etc. It keeps Ruby from returning singleton methods for these
classes, as an example.
Is there a similar concept in JRuby, or does it need to be built? Or is
there another (better) way?
What flag exactly is it you're trying to mimic?
--
Ola Bini (http://olabini.com)
Ioke creator (http://ioke.org)
JRuby Core Developer (http://jruby.org)
Developer, ThoughtWorks Studios (http://studios.thoughtworks.com)
Practical JRuby on Rails (http://apress.com/book/view/9781590598818)
"Yields falsehood when quined" yields falsehood when quined.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email