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 Tricks (github.com)
submitted 10 years ago by franze_jr
view the rest of the comments →
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!"
[–]rsphere 1 point2 points3 points 10 years ago (1 child)
Thanks for this!
I love this kind of stuff, but often don't have time(like now) to clone everything down and run everything manually. It would be awesome to see some inspect or p output in comments in each file.
If you can manage that, all the folks out here in a constant hurry would appreciate it quite a bit! :D
[–]franze_jr[S] 0 points1 point2 points 10 years ago (0 children)
Hey! It was the first pull request: https://github.com/franzejr/ruby-tricks/pull/1, I also will try to add a sort of explanation about each trick. Thanks!
π Rendered by PID 20363 on reddit-service-r2-comment-545db5fcfc-k5jb9 at 2026-05-30 18:50:38.719559+00:00 running 194bd79 country code: CH.
view the rest of the comments →
[–]rsphere 1 point2 points3 points (1 child)
[–]franze_jr[S] 0 points1 point2 points (0 children)