[jruby-dev] Is there a reason why enumeratorize is not public?

2011-10-20 Thread Jonathan Coveney
There is a nice function in RubyEnumerator which makes it easy to return an enumerator object if someone just does a.each without specifying a block. I'm just curious why it's not public? Was this a design decision? Thanks Jon

[jruby-dev] Re: Is there a reason why enumeratorize is not public?

2011-10-20 Thread Jonathan Coveney
Ah, it looks like RubyEnumeratorKernel provides obj_to_enum. That works perfectly. Sorry for all the questions :S 2011/10/20 Jonathan Coveney > There is a nice function in RubyEnumerator which makes it easy to return an > enumerator object if someone just does a.each without specifying a block.

[jruby-dev] [jira] Created: (JRUBY-6151) JRuby sometimes forgets to wrap Java-classes

2011-10-20 Thread Jarkko Miettinen (JIRA)
JRuby sometimes forgets to wrap Java-classes Key: JRUBY-6151 URL: https://jira.codehaus.org/browse/JRUBY-6151 Project: JRuby Issue Type: Bug Components: Java Integration Affects Vers