How to use pry instead of irb?
just type pry instead of irb in the console
How to get the result of the latest executed command?
With ‘_’ last one
‘__’ ( with 2 ‘_’) the previous one before the last
How to see all available methods for the object?
- ls []
How to show documentation for the method in pry console?
show-doc String#crypt
How to show the source of method? ( how was implemented)
show-source Array#map