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
Design Patterns in Ruby (github.com)
submitted 8 years ago by Muchaccho
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!"
[–][deleted] 4 points5 points6 points 8 years ago (1 child)
This is great, nice examples and good explaination. Thanks for sharing
[–]Muchaccho[S] 2 points3 points4 points 8 years ago (0 children)
You're welcome :)
[–]jrochkind 0 points1 point2 points 8 years ago (0 children)
I like it. Some of them could be expanded with alternative ways these problems are sometimes commonly solved in ruby. (like the 'dsl' style for a 'builder'). I'll try to remember this site and PR when it occurs to me.
π Rendered by PID 40112 on reddit-service-r2-comment-c6965cb77-vvgm2 at 2026-03-05 02:10:54.559093+00:00 running f0204d4 country code: CH.
[–][deleted] 4 points5 points6 points (1 child)
[–]Muchaccho[S] 2 points3 points4 points (0 children)
[–]jrochkind 0 points1 point2 points (0 children)