From my point of view one of the odder things about Ruby is that 'for loops' are obsolete . . .
That's just darn weird. I'm sure I'll get used to it.
If you're still writing for loops, stop; there's a better way. Exactly why merits some examples.
That's a pretty straightforward one. It says: with each element in this array, execute the given block.[1, 2, 3].each { |number| puts number }
That's just darn weird. I'm sure I'll get used to it.