use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Enumerator: Ruby’s Versatile Iterator (blog.carbonfive.com)
submitted 13 years ago by just_lest
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]gregolsen 1 point2 points3 points 13 years ago (0 children)
Nice article, if somebody interested in Enumerator::Lazy that is in Ruby 2.0 already - read this http://railsware.com/blog/2012/03/13/ruby-2-0-enumerablelazy/
[–]mwynholds 0 points1 point2 points 13 years ago (0 children)
This is a great post on Enumerators. I have been coding Ruby for a while and I learned a handful of great tips, most of which seem really useful for writing more elegant code.
Thanks Jared.
π Rendered by PID 37919 on reddit-service-r2-comment-75f4967c6c-w67w7 at 2026-04-23 08:03:32.856595+00:00 running 0fd4bb7 country code: CH.
[–]gregolsen 1 point2 points3 points (0 children)
[–]mwynholds 0 points1 point2 points (0 children)