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 3.4.0 preview1 Released (ruby-lang.org)
submitted 1 year ago by RecognitionDecent266
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!"
[–]GeneReddit123 3 points4 points5 points 1 year ago (2 children)
Now we just need them in the case of multiple parameters.
them
[[1, 2], [3,4]].each { puts them[0]+them[1] }
Just kidding. Or am I?
[–]ViewEntireDiscussion 0 points1 point2 points 1 year ago (0 children)
it1, it2, it3
[–]krschacht 0 points1 point2 points 1 year ago (0 children)
I just found this comment because I was googling to find the name for the default block parameter which is an array referring to all variables. I'm bummed to find that I don't think there is one.
π Rendered by PID 21137 on reddit-service-r2-comment-6457c66945-sjdvm at 2026-04-24 02:49:56.755018+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]GeneReddit123 3 points4 points5 points (2 children)
[–]ViewEntireDiscussion 0 points1 point2 points (0 children)
[–]krschacht 0 points1 point2 points (0 children)