Enumerable
is a module, and Enumerator
is a class. So that should tell you a lot out the the box. Enumerable
is a set of behaviors and functionality you'd want to add to a class. The Enumerator
class is something you get objects from itself.
Created
July 7, 2014 04:05
-
-
Save aruprakshit/7b67d22fc126c8979166 to your computer and use it in GitHub Desktop.
Enumerable vs Enumerator
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment