Hi folks, I wrote up an interesting and useful pattern in Ruby that I don’t think gets enough love. I’m interested in hearing your feedback and answering any questions you might have. Thanks in advance!
Enumerators are great! I like the content of your post but the Python style indentation is a bit much. Surprisingly it makes groking the code a little foreign. Standard Ruby indentation is two spaces (see the Ruby Style Guide for more info).
Agreed! The markdown editor in WordPress was not playing well with spaces
so I had to use tabs for this write-up. I am exploring alternatives for
future posts, and have been thinking about migrating the site to Jekyll or
something similar. Anyway, thanks for the feedback!
Thanks, this is the first time I see a simple example with enumerators Great post