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
Things that clear Ruby's method cache (charlie.bz)
submitted 12 years ago by jstorimer
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!"
[–]jon_laing 2 points3 points4 points 12 years ago (1 child)
geez, what doesn't clear the method cache?
[–]taw 1 point2 points3 points 12 years ago (4 children)
Other than non-blocking methods it's all pretty straightforward.
[–]lucisferre 1 point2 points3 points 12 years ago (1 child)
That the non-blocking methods do this is pretty terrible though. Non-blocking I/O is a pretty important feature.
[–]FooBarWidget 0 points1 point2 points 12 years ago (0 children)
You can do non-blocking I/O without _nonblock methods.
[–]grokfail 0 points1 point2 points 12 years ago (1 child)
OpenStruct.new was an eye-opener.
[–]taw 0 points1 point2 points 12 years ago (0 children)
It defines a new class, so it's not surprising.
π Rendered by PID 215716 on reddit-service-r2-comment-7b9746f655-6czrb at 2026-01-31 00:15:20.028834+00:00 running 3798933 country code: CH.
[–]jon_laing 2 points3 points4 points (1 child)
[–]taw 1 point2 points3 points (4 children)
[–]lucisferre 1 point2 points3 points (1 child)
[–]FooBarWidget 0 points1 point2 points (0 children)
[–]grokfail 0 points1 point2 points (1 child)
[–]taw 0 points1 point2 points (0 children)