Ah, it looks like RubyEnumeratorKernel provides obj_to_enum. That works perfectly.
Sorry for all the questions :S 2011/10/20 Jonathan Coveney <jcove...@gmail.com> > 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 >