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
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