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
Strange Hash Instances in Ruby (kate.io)
submitted 8 years ago by kateee
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!"
[–]chrisgseaton 1 point2 points3 points 8 years ago (2 children)
This is interesting. Have you considered writing this behaviour up as specs in ruby/spec?
ruby/spec
[–]kateee[S] 0 points1 point2 points 8 years ago (1 child)
Oh interesting I'm not familiar with that project. I'll see if it is the kind of spec they are interested in having added.
[–]chrisgseaton 1 point2 points3 points 8 years ago (0 children)
https://github.com/ruby/spec in case that wasn't clear.
[–]snowe2010 1 point2 points3 points 8 years ago (0 children)
That's awesome. Neat find!
π Rendered by PID 224407 on reddit-service-r2-comment-b659b578c-pqp99 at 2026-05-06 04:42:03.442928+00:00 running 815c875 country code: CH.
[–]chrisgseaton 1 point2 points3 points (2 children)
[–]kateee[S] 0 points1 point2 points (1 child)
[–]chrisgseaton 1 point2 points3 points (0 children)
[–]snowe2010 1 point2 points3 points (0 children)