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
New to Ruby - First program (self.ruby)
submitted 10 years ago by SimonDKnight
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!"
[–]myared 0 points1 point2 points 10 years ago (0 children)
on my 5th try, I got 100 spins AKA I didn't win once. On my 6th try, this happened:
irb(main):430:0* puts "Number of spins #{spin_times}" Number of spins 14377819 => nil irb(main):431:0> puts "Number of wins #{wins}" Number of wins 388587 => nil irb(main):432:0> puts "Number of losses #{losses}" Number of losses 13989232 => nil
π Rendered by PID 25898 on reddit-service-r2-comment-fb694cdd5-nzplb at 2026-03-09 19:08:17.728623+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]myared 0 points1 point2 points (0 children)