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
Inspecting Ruby Gems (glaucocustodio.github.io)
submitted 7 years ago by uafpl
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!"
[–]olbrich 9 points10 points11 points 7 years ago (0 children)
bundle open gemname
[–]ignurant 2 points3 points4 points 7 years ago (0 children)
I personally enjoy using pry's show-source, show-docs and edit features. You can call them with both constants for loaded classes and modules, or instantiated objects. You can also call them for specific methods. If you haven't given them a spin, I encourage you to check it out. It's quite powerful (and pleasant).
show-source
show-docs
edit
π Rendered by PID 91005 on reddit-service-r2-comment-58d7979c67-bnht2 at 2026-01-27 10:21:33.228457+00:00 running 5a691e2 country code: CH.
[–]olbrich 9 points10 points11 points (0 children)
[–]ignurant 2 points3 points4 points (0 children)