Question

Any time I want to use ruby's ri tool, (e.g. after typing something like ri GC), after it shows the documentation, I can find no way of exiting it and none of the usual key combinations for terminating a command-line command works. Because of that I'm forced to close the whole terminal window to continue my works.

How can I quit normally from ri after it showed documentation?

Was it helpful?

Solution

The answer is to simply type q and it will exit.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top