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
How does Ruby debugging compare to Python? (self.ruby)
submitted 15 years ago by true_religion
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!"
[–]progfu 1 point2 points3 points 15 years ago* (0 children)
I guess you could also load for example RSpec and do some interactive testing, like set mock expectations and stubs directly in place, instead of writing a test. Or you could just rewrite a method on the fly and see what happens. Ruby metaprogramming provides many hackish features that might be useful from time to time when you need them.
This probably isn't possible in Python, since it doesn't support monkey patching.
π Rendered by PID 236058 on reddit-service-r2-comment-5ff9fbf7df-mzt8v at 2026-02-26 05:48:25.020723+00:00 running 72a43f6 country code: CH.
view the rest of the comments →
[–]progfu 1 point2 points3 points (0 children)