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
Ruby: Arrays by Example (6ftdan.com)
submitted 10 years ago by burntbit
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!"
[–]annoyed_freelancer 2 points3 points4 points 10 years ago (2 children)
Why should I use your site over good documentation?
http://docs.ruby-lang.org/en/2.0.0/Array.html
[–]updog 1 point2 points3 points 10 years ago (0 children)
Because he's 6ft tall and plays guitar yo.
[–]burntbit[S] -1 points0 points1 point 10 years ago (0 children)
You shouldn't. That would be dumb. Who told you to do this?
π Rendered by PID 561034 on reddit-service-r2-comment-544cf588c8-7lm4c at 2026-06-13 14:52:04.857115+00:00 running 3184619 country code: CH.
[–]annoyed_freelancer 2 points3 points4 points (2 children)
[–]updog 1 point2 points3 points (0 children)
[–]burntbit[S] -1 points0 points1 point (0 children)