Enumerators for beginners
I'm going to start at Turing School in a few days, and have been eagerly studying in preparation.
There are many, many things I don't yet understand, but I'm trying to slow down and make sure I understand the basics before throwing myself into more complicated things.
One of the things that has been causing me lots of confusion are Enumerators. Mostly because I can use enumerables on both hashes and arrays, and can use it to pick data out of an array or hash, or to insert data into an array or a hash, and at the moment it feels like I'm blindly mashing keys on my keyboard. :(
Specifically, I'm trying to wrap my head around
.inject, and other similar methods, all as it pertains to arrays and hashes.