Re:“Did you mean?” Experience in Ruby
by dopamean on Thursday October 23, 2014 @01:12PM
(#8499326)
I actually follow a very similar pattern when developing in both Ruby and Clojure. I particularly like it in Clojure because I can run `(doc function-name)` to get some documentation on the function I intend to use (I can never remember the order of arguments!!).
[ Parent
| on HN ]
The pry equivalents are show-doc and show-source.
They don't always work depending on configuration, but it's very nice when they do. They can even go far enough to show the C source for builtins.