# Tips and Tricks (Today I learned)

**URL:** <https://forum.devtalk.com/t/tips-and-tricks-today-i-learned/6125>\
**Category:** General Dev Chat\
**Tags:** community, today-i-learned, til\
**Created:** [20 January 2021 02:55 UTC](https://forum.devtalk.com/t/tips-and-tricks-today-i-learned/6125 "2021-01-20T02:55:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![DevotionGeo](https://forum.devtalk.com/user_avatar/forum.devtalk.com/devotiongeo/32/1140_2.png) [@DevotionGeo](https://forum.devtalk.com/u/DevotionGeo)\
**Post date:** [20 January 2021 03:09 UTC](https://forum.devtalk.com/t/tips-and-tricks-today-i-learned/6125/3 "2021-01-20T03:09:34Z")

</div>

While you cannot run `ri` commands from inside an `irb` session, you can run `ri` commands from inside a `pry` session.

> **What are ri, irb and pry?**
>
> **ri:**  
> I have seen different (very talented) people saying that it’s abbreviated from different terms, like Ruby Information, Ruby Interactive and Ruby Index. No matter which term it stands for, it’s the Ruby tool for navigating documentation.  
>   
> **irb:**  
> Interactive Ruby Shell is a REPL for Ruby.  
>   
> **pry:**  
> A runtime developer console and IRB alternative with powerful introspection capabilities (as stated on its Github page). Installable as a Gem.

 ![Screenshot from 2021-01-20 08-09-00](https://forum.devtalk.com/uploads/default/original/2X/f/fadcaaa3654ac575e9748769f3058da8cb81b0d3.jpeg)

---

_[View the full topic](https://forum.devtalk.com/t/tips-and-tricks-today-i-learned/6125)._
