# Exploring Enumerators in Ruby

**URL:** <https://metaruby.com/t/exploring-enumerators-in-ruby/676>\
**Category:** Ruby Chat\
**Created:** [September 14, 2016, 5:33pm UTC](https://metaruby.com/t/exploring-enumerators-in-ruby/676 "2016-09-14T17:33:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mwpastore](https://metaruby.com/letter_avatar_proxy/v4/letter/m/e19b73/32.png) [@mwpastore](https://metaruby.com/u/mwpastore)\
**Post date:** [September 14, 2016, 5:33pm UTC](https://metaruby.com/t/exploring-enumerators-in-ruby/676/1 "2016-09-14T17:33:02Z")

</div>

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!

[Exploring Enumerators in Ruby](http://perlkour.pl/2016/09/exploring-enumerators-in-ruby/#content)

---

<div class="post-metadata">

**Author:** ![danielpclark](https://metaruby.com/user_avatar/metaruby.com/danielpclark/32/823_2.png) [@danielpclark](https://metaruby.com/u/danielpclark)\
**Post date:** [September 20, 2016, 1:27am UTC](https://metaruby.com/t/exploring-enumerators-in-ruby/676/2 "2016-09-20T01:27:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mwpastore](https://metaruby.com/letter_avatar_proxy/v4/letter/m/e19b73/32.png) [@mwpastore](https://metaruby.com/u/mwpastore)\
**Post date:** [September 20, 2016, 4:49am UTC](https://metaruby.com/t/exploring-enumerators-in-ruby/676/3 "2016-09-20T04:49:06Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![ludovic](https://metaruby.com/user_avatar/metaruby.com/ludovic/32/183_2.png) [@ludovic](https://metaruby.com/u/ludovic)\
**Post date:** [September 22, 2016, 7:31am UTC](https://metaruby.com/t/exploring-enumerators-in-ruby/676/4 "2016-09-22T07:31:15Z")

</div>

Thanks, this is the first time I see a simple example with enumerators 🙂 Great post
